Skip to contentSkip to conversation

New: VMXON with CR0 bit 5 cleared should #GP, got '6'

Bug 216725 [email protected] 1 participant 3 messages Nov 22, 2022 – Nov 23, 2022 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216725

            Bug ID: 216725
           Summary: VMXON with CR0 bit 5 cleared should #GP, got '6'
           Product: Virtualization
           Version: unspecified
    Kernel Version: 6.1.0-rc4
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 303260
--> https://bugzilla.kernel.org/attachment.cgi?id=303260&action=edit
vmx failure log

Environment:
CPU Architecture: x86_64
Host OS: Red Hat Enterprise Linux 8.4 (Ootpa)
Host kernel: 6.1.0-rc4
gcc: gcc version 8.4.1
Host kernel source: https://git.kernel.org/pub/scm/virt/kvm/kvm.git
Branch: next
Commit: d72cf8ff

Qemu source: https://git.qemu.org/git/qemu.git
Branch: master
Commit: 6d71357a

kvm-unit-tests source: https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git
Branch: master
Commit: 952cf19c9143e307fe229af8bf909016a02fcc6c

Bug Detailed Description:
kvm-unit-tests vmx fails on the latest kvm.
SUMMARY: 430115 tests, 1 unexpected failures, 2 expected failures, 5 skipped. The one unexpected failure is:
FAIL: VMXON with CR0 bit 5 cleared should #GP, got '6'

Reproducing Steps:
rmmod kvm_intel
modprobe kvm_intel nested=Y
git clone https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git
cd kvm-unit-tests
./configure
make standalone
cd tests
./vmx -cpu host

Actual Result:
...
SUMMARY: 430115 tests, 1 unexpected failures, 2 expected failures, 5 skipped FAIL vmx (430115 tests, 1 unexpected failures, 2 expected failures, 5 skipped)

Expected Result:
...
SUMMARY: 430115 tests, 2 expected failures, 4 skipped) PASS vmx (430115 tests, 2 expected failures, 4 skipped)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 216725] VMXON with CR0 bit 5 cleared should #GP, got '6'

https://bugzilla.kernel.org/show_bug.cgi?id=216725

Yu Zhang ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Yu Zhang ([email protected]) ---
Well, IIUC, the case was added by Sean
(https://lore.kernel.org/all/[email protected]/), to test his fix for nVMX
(https://lore.kernel.org/lkml/[email protected]/T/).

But the KVM patch has not been queued in next branch yet. Maybe we can just wait...

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216725] VMXON with CR0 bit 5 cleared should #GP, got '6'

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216725

--- Comment #2 from Yang Lixiao ([email protected]) --- (In reply to Yu Zhang from comment #1)

Quoted 7 lines

Well, IIUC, the case was added by Sean
(https://lore.kernel.org/all/[email protected]/),
to test his fix for nVMX
(https://lore.kernel.org/lkml/[email protected]/T/).

But the KVM patch has not been queued in next branch yet. Maybe we can just wait...

Sure. Thanks for your notice!

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.