Skip to content

Microsoft Hyper-V acceleration not working

The WHPX accelerator worked successfully on a previously released QEMU v5.2.0, but current QEMU v6.0.0 has a problem with booting if command line has an argument "-boot menu=on", boot process gets stuck on "Press ESC to select boot drive" and does not respond to keys.

Command line:

Start-Process -WindowStyle "Hidden" `
-WorkingDirectory "C:\Program Files\qemu\" `
-FilePath "C:\Program Files\qemu\qemu-system-x86_64.exe" `
-ArgumentList "-nodefaults `
-accel whpx -smp 1 -m 1G `
-boot menu=on `
-device virtio-blk-pci,drive=hdd `
-drive file=\Mount\Images\Debian.qcow2,format=qcow2,if=none,id=hdd `
-device virtio-blk-pci,drive=install `
-drive file=\Mount\Images\debian-10.9.0-amd64-netinst.iso,format=raw,if=none,id=install `
-device e1000,netdev=local -netdev tap,id=local,ifname=TAP0 `
-vga virtio"
Edited by Vasiliy Nikonov
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information