]> git.baikalelectronics.ru Git - kernel.git/commitdiff
KVM: selftests: Drop stale declarations from kvm_util_base.h
authorSean Christopherson <seanjc@google.com>
Mon, 2 May 2022 22:25:35 +0000 (15:25 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 14:14:46 +0000 (10:14 -0400)
Drop declarations for allocate_kvm_dirty_log() and vm_create_device(),
which no longer have implementations.

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

index 92cef0ffb19e1ba7d143aa331f29ca67dc6ec054..47b77ebda6a36449bb85c314f5f4ddb234c554af 100644 (file)
@@ -381,11 +381,6 @@ struct kvm_userspace_memory_region *
 kvm_userspace_memory_region_find(struct kvm_vm *vm, uint64_t start,
                                 uint64_t end);
 
-struct kvm_dirty_log *
-allocate_kvm_dirty_log(struct kvm_userspace_memory_region *region);
-
-int vm_create_device(struct kvm_vm *vm, struct kvm_create_device *cd);
-
 #define sync_global_to_guest(vm, g) ({                         \
        typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g));     \
        memcpy(_p, &(g), sizeof(g));                            \