]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULT
authorSean Christopherson <seanjc@google.com>
Tue, 19 Apr 2022 21:21:38 +0000 (14:21 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:34 +0000 (11:46 -0400)
commit007d0631d60f81f0c4b10755e23b9b3e888fdc75
tree0f48b0d3127f41ad2e649a515b663467af38abf3
parentc7d5fd950491052fddd07272ab99be7f4879a00d
KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULT

Add ____vm_create() to be the innermost helper, and turn vm_create() into
a wrapper the specifies VM_MODE_DEFAULT.  Most of the vm_create() callers
just want the default mode, or more accurately, don't care about the mode.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/aarch64/psci_test.c
tools/testing/selftests/kvm/dirty_log_test.c
tools/testing/selftests/kvm/hardware_disable_test.c
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/x86_64/pmu_event_filter_test.c
tools/testing/selftests/kvm/x86_64/set_boot_cpu_id.c