8

I am using qemu to emulate Zorin OS 16. I tried to emulate Zorin OS 16 with whpx acceleration with this command in power shell:

qemu-system-x86_64.exe -boot d -cdrom zorincore.iso -m 8000 -accel whpx

...then zorin starts but it throws back this error in powershell:

WHPX: setting APIC emulation mode in the hypervisor
Windows Hypervisor Platform accelerator is operational
whpx: injection failed, MSI (0, 0) delivery: 0, dest_mode: 0, trigger mode: 0, vector: 0, lost (c0350005)

how to fix the error?

(I am using Windows 11 Preview Build 220000.194 and I enabled Windows Hypervisor Platform Feature)

genpfault
  • 555

1 Answers1

0

I didn't have much time to figure out how this works and what are the implications. But solution mentioned in this github issue helped me:

--accel whpx,kernel-irqchip=off

Docs here mention that "Disabling the in-kernel irqchip completely is not recommended except for debugging purposes". But split is not implemented in WHPX. I'm no expert so I'm not sure if KVM in docs means only Linux-related virtualization or something more general. So I decided to post that just in case. Again, I have no expertise in that so use with caution and better do your own research.