So using qemu with hyper-V acceleration is something that is not well documented. Historically, you would setup HAXM but that has been discontinued and deprecated.

To use qemu on WIndows with hardware acceleration you first start by enabling Hyper-V if it isn’t enabled already. Next, run qemu with the following additional option:

--accel whpx,kernel-irqchip=off

In qtemu on Windows there is a GUI option to do this. I like qemu because it cleaner than pure Hyper-V and doesn’t have the licensing issues that Virtualbox does. I also like that Linux guests have native support for virtual devices.

https://www.qemu.org/docs/master/system/qemu-manpage.html

  • man135@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 months ago

    Idk if it was fixed recently (don’t think it has been) but last time I tried this 2 months ago it doesn’t actually work. Using the latest version of QEMU, you will get an error that says something along the lines of “MSI injection failed”. When this is logged HyperV is not used for accel and the VM is really slow.

    Edit: CPU AMD 3900x