Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/x86_64/
Dstate_test.c32 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in l2_guest_code()
34 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in l2_guest_code()
37 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0fffee); in l2_guest_code()
66 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
72 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()
80 vmwrite(GUEST_RIP, vmreadz(GUEST_RIP) + 3); in l1_guest_code()
93 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in l1_guest_code()
97 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
[all …]
Dvmx_tsc_adjust_test.c100 control = vmreadz(CPU_BASED_VM_EXEC_CONTROL); in l1_guest_code()
106 save_cr3 = vmreadz(GUEST_CR3); in l1_guest_code()
109 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == in l1_guest_code()
115 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
Dvmx_dirty_log_test.c65 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
Devmcs_test.c57 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c268 uint32_t exit_controls = vmreadz(VM_EXIT_CONTROLS); in init_vmcs_host_state()
308 vmwrite(GUEST_ES_SELECTOR, vmreadz(HOST_ES_SELECTOR)); in init_vmcs_guest_state()
309 vmwrite(GUEST_CS_SELECTOR, vmreadz(HOST_CS_SELECTOR)); in init_vmcs_guest_state()
310 vmwrite(GUEST_SS_SELECTOR, vmreadz(HOST_SS_SELECTOR)); in init_vmcs_guest_state()
311 vmwrite(GUEST_DS_SELECTOR, vmreadz(HOST_DS_SELECTOR)); in init_vmcs_guest_state()
312 vmwrite(GUEST_FS_SELECTOR, vmreadz(HOST_FS_SELECTOR)); in init_vmcs_guest_state()
313 vmwrite(GUEST_GS_SELECTOR, vmreadz(HOST_GS_SELECTOR)); in init_vmcs_guest_state()
315 vmwrite(GUEST_TR_SELECTOR, vmreadz(HOST_TR_SELECTOR)); in init_vmcs_guest_state()
321 vmwrite(GUEST_IA32_PAT, vmreadz(HOST_IA32_PAT)); in init_vmcs_guest_state()
322 vmwrite(GUEST_IA32_EFER, vmreadz(HOST_IA32_EFER)); in init_vmcs_guest_state()
[all …]
/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h513 static inline uint64_t vmreadz(uint64_t encoding) in vmreadz() function