Lines Matching refs:kvm_vm

116 	struct kvm_vm *vm;
237 struct kvm_vm *kvm_vm; member
250 t.kvm_vm = vm_create_with_one_vcpu(&vcpu, guest_code); in test_default_init()
251 t.vm = (struct test_info) { t.kvm_vm, NULL }; in test_default_init()
252 t.vcpu = (struct test_info) { t.kvm_vm, vcpu }; in test_default_init()
374 kvm_vm_free(t.kvm_vm); in test_copy()
400 kvm_vm_free(t.kvm_vm); in test_copy_access_register()
466 kvm_vm_free(t.kvm_vm); in test_copy_key()
479 kvm_vm_free(t.kvm_vm); in test_cmpxchg_key()
710 kvm_vm_free(t.kvm_vm); in test_cmpxchg_key_concurrent()
743 kvm_vm_free(t.kvm_vm); in test_copy_key_storage_prot_override()
757 kvm_vm_free(t.kvm_vm); in test_copy_key_fetch_prot()
790 kvm_vm_free(t.kvm_vm); in test_errors_key()
808 kvm_vm_free(t.kvm_vm); in test_errors_cmpxchg_key()
839 kvm_vm_free(t.kvm_vm); in test_termination()
855 kvm_vm_free(t.kvm_vm); in test_errors_key_storage_prot_override()
883 guest_0_page = vm_vaddr_alloc(t.kvm_vm, PAGE_SIZE, 0); in test_copy_key_fetch_prot_override()
884 guest_last_page = vm_vaddr_alloc(t.kvm_vm, PAGE_SIZE, last_page_addr); in test_copy_key_fetch_prot_override()
914 kvm_vm_free(t.kvm_vm); in test_copy_key_fetch_prot_override()
922 guest_0_page = vm_vaddr_alloc(t.kvm_vm, PAGE_SIZE, 0); in test_errors_key_fetch_prot_override_not_enabled()
923 guest_last_page = vm_vaddr_alloc(t.kvm_vm, PAGE_SIZE, last_page_addr); in test_errors_key_fetch_prot_override_not_enabled()
935 kvm_vm_free(t.kvm_vm); in test_errors_key_fetch_prot_override_not_enabled()
943 guest_0_page = vm_vaddr_alloc(t.kvm_vm, PAGE_SIZE, 0); in test_errors_key_fetch_prot_override_enabled()
944 guest_last_page = vm_vaddr_alloc(t.kvm_vm, PAGE_SIZE, last_page_addr); in test_errors_key_fetch_prot_override_enabled()
966 kvm_vm_free(t.kvm_vm); in test_errors_key_fetch_prot_override_enabled()
1043 kvm_vm_free(t.kvm_vm); in test_errors()
1076 kvm_vm_free(t.kvm_vm); in test_errors_cmpxchg()