Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c200 uint32_t exit_controls = vmreadz(VM_EXIT_CONTROLS); in init_vmcs_host_state()
240 vmwrite(GUEST_ES_SELECTOR, vmreadz(HOST_ES_SELECTOR)); in init_vmcs_guest_state()
241 vmwrite(GUEST_CS_SELECTOR, vmreadz(HOST_CS_SELECTOR)); in init_vmcs_guest_state()
242 vmwrite(GUEST_SS_SELECTOR, vmreadz(HOST_SS_SELECTOR)); in init_vmcs_guest_state()
243 vmwrite(GUEST_DS_SELECTOR, vmreadz(HOST_DS_SELECTOR)); in init_vmcs_guest_state()
244 vmwrite(GUEST_FS_SELECTOR, vmreadz(HOST_FS_SELECTOR)); in init_vmcs_guest_state()
245 vmwrite(GUEST_GS_SELECTOR, vmreadz(HOST_GS_SELECTOR)); in init_vmcs_guest_state()
247 vmwrite(GUEST_TR_SELECTOR, vmreadz(HOST_TR_SELECTOR)); in init_vmcs_guest_state()
253 vmwrite(GUEST_IA32_PAT, vmreadz(HOST_IA32_PAT)); in init_vmcs_guest_state()
254 vmwrite(GUEST_IA32_EFER, vmreadz(HOST_IA32_EFER)); in init_vmcs_guest_state()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dstate_test.c35 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in l2_guest_code()
37 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in l2_guest_code()
40 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0fffee); in l2_guest_code()
69 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
75 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
78 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
81 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
83 vmwrite(GUEST_RIP, vmreadz(GUEST_RIP) + 3); in l1_guest_code()
96 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in l1_guest_code()
100 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
[all …]
Dvmx_tsc_adjust_test.c102 control = vmreadz(CPU_BASED_VM_EXEC_CONTROL); in l1_guest_code()
108 save_cr3 = vmreadz(GUEST_CR3); in l1_guest_code()
111 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == in l1_guest_code()
117 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
Devmcs_test.c59 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
/external/linux-kselftest/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h515 static inline uint64_t vmreadz(uint64_t encoding) in vmreadz() function