lkml.org 
[lkml]   [2022]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH v2 004/144] KVM: selftests: Drop stale declarations from kvm_util_base.h
    From
    Drop declarations for allocate_kvm_dirty_log() and vm_create_device(),
    which no longer have implementations.

    Signed-off-by: Sean Christopherson <seanjc@google.com>
    ---
    tools/testing/selftests/kvm/include/kvm_util_base.h | 5 -----
    1 file changed, 5 deletions(-)

    diff --git a/tools/testing/selftests/kvm/include/kvm_util_base.h b/tools/testing/selftests/kvm/include/kvm_util_base.h
    index 92cef0ffb19e..47b77ebda6a3 100644
    --- a/tools/testing/selftests/kvm/include/kvm_util_base.h
    +++ b/tools/testing/selftests/kvm/include/kvm_util_base.h
    @@ -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)); \
    --
    2.36.1.255.ge46751e96f-goog
    \
     
     \ /
      Last update: 2022-06-03 02:45    [W:2.117 / U:0.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site