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)
commit3f44e7fdca4eaeed3728d0b898ace5258f9ed474
tree0f48b0d3127f41ad2e649a515b663467af38abf3
parentcfe122db3ea6908d44f51c239fb1f1608e71522b
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