Guest freezes until there is a keyboard input on Windows version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am using Qemu for Windows and when I try to run this for Windows guests then the guests are freezing and waiting for keyboard input and it continues to function after I press a key. I am using Windows10 Home and below is the command I use to run the guest. I have suspected if this is caused by random entropy but even with mouse moving it gives same random locks and it continues to work as soon as I press a key so maybe its not about entropy at all,
startwinguest.bat:
qemu-system-x86_64 ^
-name "win" ^
-machine type=q35,accel=whpx ^
-cpu EPYC,hv_
-nodefaults ^
-usb ^
-rtc base=localtime,
-smp 6,sockets=
-m 8192 -mem-prealloc ^
-soundhw hda ^
-usbdevice tablet ^
-netdev user,id=
-vga std ^
-display gtk ^
-boot d ^
-device virtio-
-drive "file=%
-device scsi-hd,
-drive "file=D:
-drive "file=%
description: | updated |
I run into this behavior too. Win10 Home guest, PCI-passthrough graphics (GTX 1650), host cpu (Ryzen 7 3800XT). Occurs whether or not I use the qcow disk drive.
qemu-system-x86_64 on,l3-cache= on,hv_relaxed, hv_vapic, hv_time, hv_spinlocks= 0x1fff, hv_vendor_ id=hv_dummy base=localtime accel=kvm, kernel_ irqchip= on format= raw,readonly, file=/usr/ share/OVMF/ OVMF_CODE. fd format= raw,file= /tmp/OVMF_ VARS.fd vendorid= 0x045e, productid= 0x00db vendorid= 0x1bcf, productid= 0x0005 index=0, format= qcow2,if= virtio, cache=off, file=./ win10_boot_ priv.qcow2 index=2, aio=native, cache.direct= on,if=virtio, cache=off, format= raw,discard= unmap,detect- zeroes= unmap,file= /dev/vg0/ win10_hdpriv host=09: 00.0,addr= 0x02.0x0, multifunction= on host=09: 00.1,addr= 0x02.0x1 host=09: 00.2,addr= 0x02.0x2 host=09: 00.3,addr= 0x02.0x3 netid,ifname= taplan, script= no,downscript= no netid,mac= 52:54:00: 01:02:03
-cpu host,kvm=
-smp 8
-rtc clock=host,
-machine type=q35,
-enable-kvm
-drive if=pflash,
-drive if=pflash,
-m 32G
-usb
-device usb-tablet
-vga none
-serial none
-parallel none
-boot cd
-nographic
-device usb-host,
-device usb-host,
-drive id=disk0,
-drive id=disk2,
-device vfio-pci,
-device vfio-pci,
-device vfio-pci,
-device vfio-pci,
-netdev tap,id=
-device e1000,netdev=