diff options
author | Sean Christopherson <seanjc@google.com> | 2022-04-19 14:16:34 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 11:46:34 -0400 |
commit | cfe122db3ea6908d44f51c239fb1f1608e71522b (patch) | |
tree | f83f6486efbadcbdaec0b10a54cc5355d90a59ba /tools/testing/selftests/kvm/dirty_log_test.c | |
parent | 95fb0460719721962997d344bf9d63812c1dab67 (diff) | |
download | linux-stable-cfe122db3ea6908d44f51c239fb1f1608e71522b.tar.gz linux-stable-cfe122db3ea6908d44f51c239fb1f1608e71522b.tar.bz2 linux-stable-cfe122db3ea6908d44f51c239fb1f1608e71522b.zip |
KVM: selftests: Rename vm_create_without_vcpus() => vm_create()
Rename vm_create_without_vcpus() to vm_create() so that it's not
misconstrued as helper that creates a VM that can never have vCPUs, as
opposed to a helper that "just" creates a VM without vCPUs added at time
zero.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/dirty_log_test.c')
-rw-r--r-- | tools/testing/selftests/kvm/dirty_log_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/dirty_log_test.c b/tools/testing/selftests/kvm/dirty_log_test.c index 13962d107948..b921d0b45647 100644 --- a/tools/testing/selftests/kvm/dirty_log_test.c +++ b/tools/testing/selftests/kvm/dirty_log_test.c @@ -674,7 +674,7 @@ static struct kvm_vm *create_vm(enum vm_guest_mode mode, uint32_t vcpuid, pr_info("Testing guest mode: %s\n", vm_guest_mode_string(mode)); - vm = vm_create_without_vcpus(mode, DEFAULT_GUEST_PHY_PAGES + extra_pg_pages); + vm = vm_create(mode, DEFAULT_GUEST_PHY_PAGES + extra_pg_pages); log_mode_create_vm_done(vm); vm_vcpu_add_default(vm, vcpuid, guest_code); |