]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Open code and drop 'struct kvm_vm' accessors
authorSean Christopherson <seanjc@google.com>
Thu, 17 Feb 2022 00:51:20 +0000 (16:51 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:24 +0000 (11:47 -0400)
commit5ef5181328eb84bede6413b4078e1cecf6f116e6
tree282eda58b5f9ec48e726106fb597bb60af24bd26
parent743a339a7fb9e4b7a3181994ff1603c73a077c6e
KVM: selftests: Open code and drop 'struct kvm_vm' accessors

Drop a variety of 'struct kvm_vm' accessors that wrap a single variable
now that tests can simply reference the variable directly.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/dirty_log_perf_test.c
tools/testing/selftests/kvm/dirty_log_test.c
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/kvm_page_table_test.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/perf_test_util.c
tools/testing/selftests/kvm/max_guest_memory_test.c
tools/testing/selftests/kvm/memslot_modification_stress_test.c
tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c