Hello.
I have windows11 installed on a vm. This vm generally works properly,
but then might crash unexpectedly at any point, this includes
situation like logging onto the system and leaving it intact for like
an hour or less. This can be reproduced by waiting long enough but
there is no single known action causing it.
What could be the problem?
Configuration and error details:
My host is a msi vector gp76 laptop with intel core i7 12700h, 32gb of
memory, host os is fedora linux 37 with custom compiled linux kernel
(fedora patches). Current kernel version is 6.1.10 but when I
installed the vm it was 6.0 or less, don't quite remember exactly, and
this bug was present. Not sure if bios is up to date, but microcode
is, if that matters.
Hardware virtualization enabled, nested virtualization enabled in
module params for kvm_intel.
For vm using libvirt, qemu 7.0.0. Virtual machine is q35, smm enabled,
processor model set to host, firmware is uefi with secureboot and
preenrolled keys, tpm is enabled. Most/all hyperv enlightenments are
enabled.
Using virtio for what I can including virtio-scsi, virtio-input,
virtio-net, virtio-balloon, etc... installed windows drivers for all
of these things.
Guest is windows 11 pro 64 bit.
What crashes is qemu itself, not that the guest is bsod'ing.
Below is the link containing libvirt qemu log, containing the full
qemu command line and also the crash messages. Note virtualization is
disabled in vm even though nested virtualization enabled on host, and
hyperv not installed on windows, so it's likely not the cause.
https://gist.github.com/webczat/1f224e7ecdc17c5c26316e0121f4ed43