I have continuous crashes of WIndows 10 VM with QEMU/KVM. The Windows crashes are a known issue with VirtualBox on Linux hosts with recent kernels, cfr. https://www.virtualbox.org/ticket/20180 Herein, it was stated that the problem does not occur with QEMU/KVM, which was the reason why I tried QEMU/KVM (I always used VirtualBox in the past).
Sometimes Windows crashes only after one hour, sometimes there are already crashes during a fresh installation of Windows as VM with QEMU/KVM. I have tried previous images of Windows 10 made by VirtualBox (vdi images) and new installations with virt-manager, but the problem is the same.
The error messages (if any) are diverse. Sometimes it’s “KMODE EXCEPTION NOT HANDLED” (i.e. the error received when using VirtualBox, see ticket 20180 above), sometimes there other error messages, sometimes there’s just a black screen and reboot. In the Windows and QEMU logs I didn’t find anything useful until now. (E.g. the Windows logs tell that the “previous shutdown was unexpected” and report some warnings on a driver not loaded (dam) and some problems with the network adapter, but the network connection works fine.)
The QEMU logs just contain some warnings when booting the VM and then (after some time) a shutdown message:
2021-05-22T09:14:32.390837Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2021-05-22T09:14:32.390929Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2021-05-22T09:14:32.392806Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2021-05-22T09:14:32.392827Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2021-05-22T09:14:32.393873Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2021-05-22T09:14:32.393884Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2021-05-22T09:14:32.395292Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2021-05-22T09:14:32.395311Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2021-05-22T09:15:33.465021Z qemu-system-x86_64: terminating on signal 15 from pid 13252 (/usr/sbin/libvirtd)
2021-05-22 09:15:33.665+0000: shutting down, reason=destroyed
XML can be found on https://susepaste.org/17377049
QEMU log file can be found on https://susepaste.org/45775958
Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7
Kernel Version: 5.3.18-57-default
OS Type: 64-bit
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 15,4 GiB
QEMU 5.2.0-9.18.x86_64
libvirt 7.1.0-4.1.x86_64