https://bugzilla.kernel.org/show_bug.cgi?id=198991 Bug ID: 198991 Summary: KVM: entry failed, hardware error 0x80000021 Product: Virtualization Version: unspecified Kernel Version: 4.14.22 Hardware: Intel OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx Reporter: kernel@xxxxxxxxx Regression: No Hi, I have a bug with KVM on kernel 4.14.22 and 4.14.23 which I didn't had on 4.14.21 When I reboot the host, the VMs failed to resume every 2 or 3 reboots, with this log: 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=80000000 EBX=ba012480 ECX=1fc19320 EDX=00006fce ESI=00000000 EDI=00000000 EBP=00000000 ESP=ba003ea0 EIP=b9657965 EFL=00000246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 00000000 0000ffff 00009300 CS =f000 ffff0000 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 00000000 0000ffff IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000000 Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I did a bisect and it seems that the bad commit is 846666fad8d7de79b47a4147e39330fe96e1bdc3 "KVM/x86: Check input paging mode when cs.l is set". I have no clue on what exactly is happening but good news is I can reproduce the bug easily, so I can test a patch if someone provides one :) Best, Adrien -- You are receiving this mail because: You are watching the assignee of the bug.