Hello! I am facing a rather unusual issue, perhaps it is unusual for a noob like me. I hope someone here would be able to help me out here.
Have a few Windows 2022 VMs that randomly shutdown.
Here is the VM config file:
The below log seems to be the one pointing to cause of crashing:
Only Windows 2022 seems to be acting this way, Windows 10 and other Linux machines are working flawlessly.
Thank you in advance!
Have a few Windows 2022 VMs that randomly shutdown.
Here is the VM config file:
Code:
agent: 1
bios: ovmf
boot: order=scsi0;net0;ide0
cores: 4
efidisk0: local-lvm:vm-101-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
ide0: local:iso/virtio-win-0.1.215.iso,media=cdrom,size=528322K
machine: pc-q35-6.2
memory: 8192
meta: creation-qemu=6.2.0,ctime=1652014079
name: W22-DC
net0: virtio=C6:C8:FE:41:14:87,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win11
scsi0: local-lvm:vm-101-disk-1,cache=writeback,discard=on,size=100G
scsi1: local-ssd:vm-101-disk-0,cache=writeback,discard=on,size=800G
scsihw: virtio-scsi-pci
smbios1: uuid=f59f73de-77b5-4448-a612-4303fff00528
sockets: 1
tpmstate0: local-lvm:vm-101-disk-2,size=4M,version=v2.0
The below log seems to be the one pointing to cause of crashing:
Code:
May 20 04:53:45 bigbro QEMU[517464]: KVM: entry failed, hardware error 0x80000021
May 20 04:53:45 bigbro QEMU[517464]: If you're running a guest on an Intel machine without unrestricted mode
May 20 04:53:45 bigbro QEMU[517464]: support, the failure can be most likely due to the guest entering an invalid
May 20 04:53:45 bigbro QEMU[517464]: state for Intel VT. For example, the guest maybe running in big real mode
May 20 04:53:45 bigbro QEMU[517464]: which is not supported on less recent Intel processors.
May 20 04:53:45 bigbro kernel: set kvm_intel.dump_invalid_vmcs=1 to dump internal KVM state.
May 20 04:53:45 bigbro QEMU[517464]: EAX=000059ef EBX=ea9e2180 ECX=00000001 EDX=00000000
May 20 04:53:45 bigbro QEMU[517464]: ESI=a8fe5280 EDI=ea9ee140 EBP=00000000 ESP=d9e37d40
May 20 04:53:45 bigbro QEMU[517464]: EIP=00008000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=1 HLT=0
May 20 04:53:45 bigbro QEMU[517464]: ES =0000 00000000 ffffffff 00809300
May 20 04:53:45 bigbro QEMU[517464]: CS =c200 7ffc2000 ffffffff 00809300
May 20 04:53:45 bigbro QEMU[517464]: SS =0000 00000000 ffffffff 00809300
May 20 04:53:45 bigbro QEMU[517464]: DS =0000 00000000 ffffffff 00809300
May 20 04:53:45 bigbro QEMU[517464]: FS =0000 00000000 ffffffff 00809300
May 20 04:53:45 bigbro QEMU[517464]: GS =0000 00000000 ffffffff 00809300
May 20 04:53:45 bigbro QEMU[517464]: LDT=0000 00000000 000fffff 00000000
May 20 04:53:45 bigbro QEMU[517464]: TR =0040 ea9f1000 00000067 00008b00
May 20 04:53:45 bigbro QEMU[517464]: GDT= ea9f2fb0 00000057
May 20 04:53:45 bigbro QEMU[517464]: IDT= 00000000 00000000
May 20 04:53:45 bigbro QEMU[517464]: CR0=00050032 CR2=22fcadb8 CR3=001ae000 CR4=00000000
May 20 04:53:45 bigbro QEMU[517464]: DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
May 20 04:53:45 bigbro QEMU[517464]: DR6=00000000ffff0ff0 DR7=0000000000000400
May 20 04:53:45 bigbro QEMU[517464]: EFER=0000000000000000
May 20 04:53:45 bigbro QEMU[517464]: Code=kvm: ../hw/core/cpu-sysemu.c:77: cpu_asidx_from_attrs: Assertion `ret < cpu->num_ases && ret >= 0' failed.
May 20 04:54:00 bigbro kernel: fwbr101i0: port 2(tap101i0) entered disabled state
May 20 04:54:00 bigbro kernel: fwbr101i0: port 2(tap101i0) entered disabled state
May 20 04:54:00 bigbro systemd[1]: 101.scope: Succeeded.
May 20 04:54:00 bigbro systemd[1]: 101.scope: Consumed 15h 34min 50.984s CPU time.
May 20 04:54:02 bigbro qmeventd[1074241]: Starting cleanup for 101
May 20 04:54:02 bigbro kernel: fwbr101i0: port 1(fwln101i0) entered disabled state
May 20 04:54:02 bigbro kernel: vmbr0: port 3(fwpr101p0) entered disabled state
May 20 04:54:02 bigbro kernel: device fwln101i0 left promiscuous mode
May 20 04:54:02 bigbro kernel: fwbr101i0: port 1(fwln101i0) entered disabled state
May 20 04:54:02 bigbro kernel: device fwpr101p0 left promiscuous mode
May 20 04:54:02 bigbro kernel: vmbr0: port 3(fwpr101p0) entered disabled state
May 20 04:54:03 bigbro qmeventd[1074241]: Finished cleanup for 101
Only Windows 2022 seems to be acting this way, Windows 10 and other Linux machines are working flawlessly.
Thank you in advance!