Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#72457 - Windows 7 under latest qemu crashes when kvm is enabled

Attached to Project: Arch Linux
Opened by Chris Barry (a_aguecheek) - Sunday, 17 October 2021, 14:56 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 18 October 2021, 19:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Tobias Powalowski (tpowa)
Anatol Pomozov (anatolik)
David Runge (dvzrv)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


After running pacman -Su after a lapse of several months I found that previously working Windows 7 virtual machines would halt with a blue screen and error 0xFE just after displaying "Starting Windows". The same error would occur when booting from a Windows 7 installation image. However, a rather old Clonezilla image seemed to boot without problems.

I was using my own build of kernel 5.7.2, which was not replaced during the update. Switching to the 4.14.12-arch1-1 did not help, nor did a fresh build of 4.14.12.

When "-enable-kvm" was removed from the command line then Windows ran normally but slowly.

I cloned the Qemu source and built the latest version, which failed in the same way, but when I built "version 5.2.95 (v6.0.0-rc5-dirty)" the Windows VMs (32 and 64 bit) seemed to run normally.

Additional info:
* package version(s): qemu 6.1.0-5
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
/bin/qemu-system-x86_64 -enable-kvm -cdrom -m 2048
halts with a blue screen shortly after displaying "Starting Windows".
This task depends upon

Comment by Chris Barry (a_aguecheek) - Sunday, 17 October 2021, 15:00 GMT
Kernel versions should be 5.14.12, not 4.14.12.
Comment by agapito fernandez (agapito) - Tuesday, 19 October 2021, 18:55 GMT
Same behavior here: can't boot Win 7, Win 8 & Win 10 isos when -enable-kvm parameter is used.

Kernel is: 5.14.13-arch1-1. No relevant logs found.
Comment by Anatol Pomozov (anatolik) - Tuesday, 19 October 2021, 18:59 GMT
I vaguely remember there were several similar bug reports. And AFAIK it was related to changed ovmf firmware format.