]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Unconditionally allocate EPT tables in memslot 0
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 20:05:23 +0000 (13:05 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 15:47:48 +0000 (11:47 -0400)
commit3646252df5133c3ebd536e8700f136808dc65ddc
tree977ff1a290411665d2e7aeb2519de838ce3117f0
parent31db928a4c37e85c8815f647fd1fbd8cf28df6b8
KVM: selftests: Unconditionally allocate EPT tables in memslot 0

Drop the EPTP memslot param from all EPT helpers and shove the hardcoded
'0' down to the vm_phy_page_alloc() calls.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622200529.3650424-14-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/x86_64/vmx.h
tools/testing/selftests/kvm/lib/x86_64/vmx.c
tools/testing/selftests/kvm/x86_64/vmx_apic_access_test.c
tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c