Home
last modified time | relevance | path

Searched refs:kvm_run (Results 1 – 25 of 68) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dmmio_warning_test.c36 struct kvm_run *run;
44 struct kvm_run *run = tc->run; in thr()
57 struct kvm_run *run; in test()
66 run = (struct kvm_run *)mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, in test()
Demulator_error_test.c62 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_exit_on_emulation_error()
111 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in check_for_guest_assert()
122 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_ucall_done()
139 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_ucall()
Duserspace_msr_exit_test.c408 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in check_for_guest_assert()
420 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_rdmsr()
455 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_wrmsr()
486 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_ucall_done()
503 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_ucall()
639 static void handle_rdmsr(struct kvm_run *run) in handle_rdmsr()
656 static void handle_wrmsr(struct kvm_run *run) in handle_wrmsr()
684 struct kvm_run *run; in test_msr_filter_deny()
Dplatform_info_test.c50 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in test_msr_platform_info_enabled()
70 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in test_msr_platform_info_disabled()
Dvmx_close_while_nested_test.c66 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
Dsvm_vmcall_test.c52 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
Dcr4_cpuid_sync_test.c66 struct kvm_run *run; in main()
Dvmx_invalid_nested_guest_state.c58 struct kvm_run *run; in main()
Dvmx_exception_with_invalid_guest_state.c29 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in __run_vcpu_with_invalid_state()
Duserspace_io_test.c56 struct kvm_run *run; in main()
Dsvm_int_ctl_test.c106 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
Dmmu_role_test.c28 struct kvm_run *run; in mmu_role_test()
Dvmx_dirty_log_test.c77 struct kvm_run *run; in main()
Dvmx_apic_access_test.c103 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
/external/linux-kselftest/tools/testing/selftests/kvm/aarch64/
Dpvm_wipe_mem.c59 if (run_size < sizeof(struct kvm_run)) in get_kvm()
75 static int create_vcpu(int vmfd, struct kvm_run **run) in create_vcpu()
99 static void teardown(int kvm, int vmfd, int vcpufd, struct kvm_run *run) in teardown()
125 struct kvm_run *run; in main()
/external/linux-kselftest/android/patches/
D0017-ANDROID-kvm-Test-that-pVM-memory-is-wiped-during-tea.patch89 + if (run_size < sizeof(struct kvm_run))
105 +static int create_vcpu(int vmfd, struct kvm_run **run)
129 +static void teardown(int kvm, int vmfd, int vcpufd, struct kvm_run *run)
155 + struct kvm_run *run;
/external/crosvm/hypervisor/src/kvm/
Dmod.rs778 run: *mut kvm_run,
852 run: self.run_mmap.as_ptr() as *mut kvm_run, in take_run_handle()
873 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) }; in set_immediate_exit()
967 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) }; in run()
1059 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) };
1090 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) };
1093 let run_start = run as *mut kvm_run as *mut u8;
1141 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) }; in handle_hyperv_hypercall()
1173 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) }; in handle_rdmsr()
1187 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) }; in handle_wrmsr()
/external/linux-kselftest/tools/testing/selftests/kvm/
Dset_memory_region_test.c58 struct kvm_run *run; in vcpu_worker()
262 struct kvm_run *run; in test_delete_memory_region()
312 struct kvm_run *run; in test_zero_memory_regions()
/external/ltp/testcases/kernel/kvm/include/
Dkvm_host.h52 struct kvm_run *vcpu_info;
/external/linux-kselftest/tools/testing/selftests/kvm/lib/s390x/
Ddiag318_test_handler.c31 struct kvm_run *run; in diag318_handler()
Ducall.c38 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c40 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h35 struct kvm_run *state;
/external/crosvm/kvm/src/
Dlib.rs1028 run: *mut kvm_run,
1079 run: self.run_mmap.as_ptr() as *mut kvm_run, in to_runnable()
1103 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) }; in set_data()
1106 let run_start = run as *mut kvm_run as *mut u8; in set_data()
1165 let run = unsafe { &mut *(self.run_mmap.as_ptr() as *mut kvm_run) }; in set_immediate_exit()
1594 let run = unsafe { &*(self.run_mmap.as_ptr() as *const kvm_run) }; in run() constant
1606 let run_start = run as *const kvm_run as *const u8; in run() constant
/external/linux-kselftest/tools/testing/selftests/kvm/lib/riscv/
Ducall.c69 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall()

123