KVM: selftests: Remove unused kvm_memcmp_hva_gva()
Sean Christopherson
reviewerPATCH 1/1 KVM: selftests: Remove unused kvm_memcmp_hva_gva()
Remove sefltests' kvm_memcmp_hva_gva(), which has literally never had a single user since it was introduced by commit 783e9e51266eb ("kvm:
selftests: add API testing infrastructure").
Signed-off-by Sean Christopherson <[email protected]>
--- .../testing/selftests/kvm/include/kvm_util.h | 2 - tools/testing/selftests/kvm/lib/kvm_util.c | 70 ------------------- 2 files changed, 72 deletions(-)
tools/testing/selftests/kvm/include/kvm_util.h +0 -2
@@ -428,8 +428,6 @@ const char *vm_guest_mode_string(uint32_t i);void kvm_vm_free (struct kvm_vm *vmp);void kvm_vm_restart (struct kvm_vm *vmp);void kvm_vm_release (struct kvm_vm *vmp); -int kvm_memcmp_hva_gva (void *hva,struct kvm_vm *vm,const vm_vaddr_t gva, -size_t len);void kvm_vm_elf_load (struct kvm_vm *vm,const char *filename);int kvm_memfd_alloc (size_t size,bool hugepages);
tools/testing/selftests/kvm/lib/kvm_util.c +0 -70
76 lines not on this page · raw message
base-commit: 332d2c1d713e232e163386c35a3ba0c1b90df83f
Signature · 1 line
2.46.0.rc2.264.g509ed76dc8-goog
Sean Christopherson
reviewerQuoted 3 lines · Sean Christopherson
Remove sefltests'
kvm_memcmp_hva_gva(), which has literally never had a single user since it was introduced by commit783e9e51266eb("kvm:
selftests: add API testing infrastructure").
Applied to kvm-x86 selftests, thanks!
[1/1] KVM: selftests: Remove unused kvm_memcmp_hva_gva()
https://github.com/kvm-x86/linux/commit/ce3b90bd0a16