KVM: selftests: Verify VMX MSRs can be restored to KVM-supported values
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2119111 commit ce30d8b9 Author: Sean Christopherson <seanjc@google.com> Date: Tue Jun 7 21:36:04 2022 +0000 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> Signed-off-by:
Vitaly Kuznetsov <vkuznets@redhat.com>
Showing
- tools/testing/selftests/kvm/.gitignore 1 addition, 0 deletionstools/testing/selftests/kvm/.gitignore
- tools/testing/selftests/kvm/Makefile 1 addition, 0 deletionstools/testing/selftests/kvm/Makefile
- tools/testing/selftests/kvm/include/x86_64/processor.h 1 addition, 0 deletionstools/testing/selftests/kvm/include/x86_64/processor.h
- tools/testing/selftests/kvm/x86_64/vmx_msrs_test.c 84 additions, 0 deletionstools/testing/selftests/kvm/x86_64/vmx_msrs_test.c
Please register or sign in to comment