]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Move vm_is_unrestricted_guest() to x86-64
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 17:08:00 +0000 (09:08 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:02 +0000 (11:47 -0400)
commit05ae17aeaa8c7f5c42ca7211745ef29b58b86849
treefa0f08eaadaba65791daa820b06838c866faeae3
parent27298246b5704eea2a97df4704e2ba1a85833510
KVM: selftests: Move vm_is_unrestricted_guest() to x86-64

An "unrestricted guest" is an VMX-only concept, move the relevant helper
to x86-64 code.  Assume most readers can correctly convert underscores to
spaces and oppurtunistically trim the function comment.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/x86_64/processor.c