KVM: selftests: Introduce VM "shape" to allow tests to specify the VM type
[linux-2.6-microblaze.git] / tools / testing / selftests / kvm / dirty_log_test.c
index 936f3a8..6cbecf4 100644 (file)
@@ -699,7 +699,7 @@ static struct kvm_vm *create_vm(enum vm_guest_mode mode, struct kvm_vcpu **vcpu,
 
        pr_info("Testing guest mode: %s\n", vm_guest_mode_string(mode));
 
-       vm = __vm_create(mode, 1, extra_mem_pages);
+       vm = __vm_create(VM_SHAPE(mode), 1, extra_mem_pages);
 
        log_mode_create_vm_done(vm);
        *vcpu = vm_vcpu_add(vm, 0, guest_code);