KVM: selftests: Verify VMX MSRs can be restored to KVM-supported values
authorSean Christopherson <seanjc@google.com>
Tue, 7 Jun 2022 21:36:04 +0000 (21:36 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Jul 2022 17:25:24 +0000 (13:25 -0400)
commitce30d8b976b46b697cfcbc0aa5dab03edb0301dc
treeea1d4cff0b5bd8b821d251d1ea7d2bf499a9cf5f
parenta910b5ab6b250a88fff1866bf708642d83317466
KVM: selftests: Verify VMX MSRs can be restored to KVM-supported values

Verify that KVM allows toggling VMX MSR bits to be "more" restrictive,
and also allows restoring each MSR to KVM's original, less restrictive
value.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220607213604.3346000-16-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/x86_64/vmx_msrs_test.c [new file with mode: 0644]