Windows 1803 and later crashes on KVM

Bug #1778966 reported by Bruce Campbell
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Expired
Undecided
Unassigned

Bug Description

For a bionic host, using the current public kvm modules, KVM is not capable of booting a WindowsInsider or msdn Windows 1803 Windows Server iso. In snstalling from an ISO from a started windows 2016 guest results in an unbootable and unrepairable guest.

The hardware is a threadripper 1920x with 32GB of main memory, disk mydigital BPX SSD and WD based 4 column RAID 5 via mdadm.

description: updated
Revision history for this message
Daniel Berrange (berrange) wrote :

This sounds like the same problem we're investigating in Fedora/RHEL land affecting guests with EPYC CPU, or host-passthrough from an EPYC family 17h host. Workaround should be to use "-cpu Opteron_G5" for now

https://bugzilla.redhat.com/show_bug.cgi?id=1592276
https://bugzilla.redhat.com/show_bug.cgi?id=1593190

Looks like windows is tickling an undocumented MSR and we're trying to find out what this MSR is supposed todo and thus how to handle it in KVM/QEMU

Revision history for this message
Bruce Campbell (yakman2020) wrote :

That is very helpful. I'll try it.

I standby to try a fix as soon as someone has one.

Revision history for this message
Bruce Campbell (yakman2020) wrote :

Regrettably opteron_g5 is not a workaround. I get a complaint that my cpu doesn't provide xop, fma4, tbm.

I've tried a number of other cpus including nehalem, phenom and athlon with similar results.

Revision history for this message
Bruce Campbell (yakman2020) wrote :

Opteron didn't work do to some missing features. I was able to get nehalem to come up but that looks like the closest.

Revision history for this message
Bruce Campbell (yakman2020) wrote :

Is there any way to define a new CPU model that isn't EPYC (maybe ryzen?) but is feature compatible with the threadripper?

Revision history for this message
Emanuele Faranda (black-silver) wrote :

I ran into the same problem on threadripper 1900X. I was using cpu type "host-passthough" and it crashed. I fixed the crash by disabling the MSR with

kvm.ignore_msrs=1

as describe in https://forum.level1techs.com/t/windows-10-1803-as-guest-with-qemu-kvm-bsod-under-install/127425/10

Revision history for this message
Thomas Huth (th-huth) wrote :

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

Changed in qemu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.