diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-02-15 14:34:32 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-02-15 14:34:32 +0100 |
commit | e84183f68edb72e70e232b842d47058cba3476ec (patch) | |
tree | 6f903b6ac09fbb48ca1eda1d6e8ee6e8878cbbf2 /tools/testing/selftests/kvm/lib/kvm_util.c | |
parent | Merge tag 'kvm-x86-pmu-6.3' of https://github.com/kvm-x86/linux into HEAD (diff) | |
parent | KVM: selftests: Remove duplicate macro definition (diff) | |
download | linux-e84183f68edb72e70e232b842d47058cba3476ec.tar.xz linux-e84183f68edb72e70e232b842d47058cba3476ec.zip |
Merge tag 'kvm-x86-selftests-6.3' of https://github.com/kvm-x86/linux into HEAD
KVM selftests changes for 6.3:
- Cache the CPU vendor (AMD vs. Intel) and use the info to emit the correct
hypercall instruction instead of relying on KVM to patch in VMMCALL
- A variety of one-off cleanups and fixes
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
-rw-r--r-- | tools/testing/selftests/kvm/lib/kvm_util.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftests/kvm/lib/kvm_util.c index f25b3e9b5a07..3ea24a5f4c43 100644 --- a/tools/testing/selftests/kvm/lib/kvm_util.c +++ b/tools/testing/selftests/kvm/lib/kvm_util.c @@ -1942,9 +1942,6 @@ vm_paddr_t vm_phy_page_alloc(struct kvm_vm *vm, vm_paddr_t paddr_min, return vm_phy_pages_alloc(vm, 1, paddr_min, memslot); } -/* Arbitrary minimum physical address used for virtual translation tables. */ -#define KVM_GUEST_PAGE_TABLE_MIN_PADDR 0x180000 - vm_paddr_t vm_alloc_page_table(struct kvm_vm *vm) { return vm_phy_page_alloc(vm, KVM_GUEST_PAGE_TABLE_MIN_PADDR, |