** Description changed: KVM crashes with the following error when installing Windows 11. I am able to 100% reproduce the crash. KVM: entry failed, hardware error 0x80000021 If you're running a guest on an Intel machine without unrestricted mode support, the failure can be most likely due to the guest entering an invalid state for Intel VT. For example, the guest maybe running in big real mode which is not supported on less recent Intel processors. EAX=00000000 EBX=d79b3c90 ECX=00000000 EDX=55c830d0 ESI=496f7ef0 EDI=00000000 EBP=dae0fae0 ESP=45e03fb0 EIP=00008000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=1 HLT=0 ES =0000 00000000 ffffffff 00809300 CS =b600 7ffb6000 ffffffff 00809300 SS =0000 00000000 ffffffff 00809300 DS =0000 00000000 ffffffff 00809300 FS =0000 00000000 ffffffff 00809300 GS =0000 00000000 ffffffff 00809300 LDT=0000 00000000 000fffff 00000000 TR =0040 45de8000 00000067 00008b00 GDT= 45de9fb0 00000057 IDT= 00000000 00000000 CR0=00050032 CR2=b247c8ec CR3=a23fe000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000000 Code=qemu-system-x86_64: ../../hw/core/cpu-sysemu.c:77: cpu_asidx_from_attrs: Assertion `ret < cpu->num_ases && ret >= 0' failed. 2022-05-02 14:09:14.074+0000: shutting down, reason=crashed The VM configuration is attached (warp.xml) + An identical configuration runs perfectly on the same hardware on Ubuntu + 20.04 LTS and qemu 4.2. + I have tried several variations of configuration, with no success: - <cpu model='host-passthrogh'> or <cpu model='host-model'> - <smm state='on'> or <smm state='off'> + machine: + qemu 4.2: pc-qc35-4.2 (works) + qemu 6.2: pc-qc35-4.2 (crashes) + qemu 6.2: pc-qc35-6.2 (crashes) - A nearly identical configuration runs perfectly on the same hardware on - Ubuntu 20.04 LTS and qemu 4.2; the only differences are: + loader: + qemu 4.2: /usr/share/OVMF/OVMF_CODE.ms.fd (works) + qemu 6.2: /usr/share/OVMF/OVMF_CODE.ms.fd (crashes) + qemu 6.2: /usr/share/OVMF/OVMF_CODE_4M.ms.fd (crashes) - 4.2: pc-qc35-4.2 (works) vs. 6.2: pc-qc35-6.2 (crashes) - 4.2: /usr/share/OVMF/OVMF_CODE.ms.fd (works) vs. 6.2: /usr/share/OVMF/OVMF_CODE_4M.ms.fd (crashes) + cpu model: + qemu 4.2: host-passthrough (works) + qemu 6.2: host-passthrough (crashes) + qemu 6.2: host-model (crashes) + + smm state: + qemu 4.2: on (works) + qemu 6.2: on (crashes) + qemu 6.2: off (crashes) ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: qemu-system-x86 1:6.2+dfsg-2ubuntu6 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: pass Date: Mon May 2 14:14:00 2022 InstallationDate: Installed on 2022-05-01 (1 days ago) InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421) KvmCmdLine: COMMAND STAT EUID RUID PID PPID %CPU COMMAND Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0557:2419 ATEN International Co., Ltd Virtual mouse/keyboard device Bus 001 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Lsusb-t: /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M |__ Port 14: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 1: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M MachineType: Supermicro Super Server ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-27-generic root=/dev/mapper/vg0_root-lv--0_root ro ipv6.disable=1 mitigations=off intel_iommu=on iommu=pt SourcePackage: qemu UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 05/25/2021 dmi.bios.release: 5.13 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1.6 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: X11SCH-LN4F dmi.board.vendor: Supermicro dmi.board.version: 1.01 dmi.chassis.asset.tag: To be filled by O.E.M. dmi.chassis.type: 17 dmi.chassis.vendor: Supermicro dmi.chassis.version: 0123456789 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.6:bd05/25/2021:br5.13:svnSupermicro:pnSuperServer:pvr0123456789:rvnSupermicro:rnX11SCH-LN4F:rvr1.01:cvnSupermicro:ct17:cvr0123456789:skuTobefilledbyO.E.M.: dmi.product.family: To be filled by O.E.M. dmi.product.name: Super Server dmi.product.sku: To be filled by O.E.M. dmi.product.version: 0123456789 dmi.sys.vendor: Supermicro
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1971161 Title: KVM: entry failed, hardware error 0x80000021 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1971161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs