Home
last modified time | relevance | path

Searched refs:create_vm (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/samples/acrn/
Dvm-sample.c47 struct acrn_vm_creation create_vm = {0}; in main() local
63 create_vm.ioreq_buf = (__u64)io_req_buf; in main()
64 ret = ioctl(hsm_fd, ACRN_IOCTL_CREATE_VM, &create_vm); in main()
66 vcpu_num = create_vm.vcpu_num; in main()
67 vmid = create_vm.vmid; in main()
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dset_boot_cpu_id.c76 static struct kvm_vm *create_vm(uint32_t nr_vcpus, uint32_t bsp_vcpu_id, in create_vm() function
97 vm = create_vm(ARRAY_SIZE(vcpus), bsp_vcpu_id, vcpus); in run_vm_bsp()
110 vm = create_vm(ARRAY_SIZE(vcpus), 0, vcpus); in check_set_bsp_busy()
/linux-6.6.21/tools/testing/selftests/kvm/s390x/
Dresets.c205 static struct kvm_vm *create_vm(struct kvm_vcpu **vcpu) in create_vm() function
222 vm = create_vm(&vcpu); in test_normal()
245 vm = create_vm(&vcpu); in test_initial()
268 vm = create_vm(&vcpu); in test_clear()
Dcmma_test.c97 static struct kvm_vm *create_vm(void) in create_vm() function
160 vm = create_vm(); in create_vm_two_memslots()
279 struct kvm_vm *vm = create_vm(); in test_migration_mode()
673 struct kvm_vm *vm = create_vm(); in machine_has_cmma()
/linux-6.6.21/tools/testing/selftests/kvm/
Ddirty_log_test.c682 static struct kvm_vm *create_vm(enum vm_guest_mode mode, struct kvm_vcpu **vcpu, in create_vm() function
725 vm = create_vm(mode, &vcpu, in run_test()