Searched refs:vmreadz (Results 1 – 8 of 8) sorted by relevance
/tools/testing/selftests/kvm/x86_64/ |
D | state_test.c | 64 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in vmx_l2_guest_code() 66 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in vmx_l2_guest_code() 69 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0fffee); in vmx_l2_guest_code() 97 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in vmx_l1_guest_code() 103 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in vmx_l1_guest_code() 106 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in vmx_l1_guest_code() 109 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in vmx_l1_guest_code() 111 vmwrite(GUEST_RIP, vmreadz(GUEST_RIP) + 3); in vmx_l1_guest_code() 124 GUEST_ASSERT(vmreadz(GUEST_RIP) == 0xc0ffee); in vmx_l1_guest_code() 128 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in vmx_l1_guest_code() [all …]
|
D | vmx_apic_access_test.c | 54 control = vmreadz(CPU_BASED_VM_EXEC_CONTROL); in l1_guest_code() 57 control = vmreadz(SECONDARY_VM_EXEC_CONTROL); in l1_guest_code() 63 GUEST_SYNC(vmreadz(APIC_ACCESS_ADDR)); in l1_guest_code() 65 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code() 70 GUEST_SYNC(vmreadz(APIC_ACCESS_ADDR)); in l1_guest_code() 72 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
|
D | vmx_tsc_adjust_test.c | 100 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()
|
D | vmx_preemption_timer_test.c | 99 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code() 100 vmwrite(GUEST_RIP, vmreadz(GUEST_RIP) + vmreadz(VM_EXIT_INSTRUCTION_LEN)); in l1_guest_code() 106 vmreadz(PIN_BASED_VM_EXEC_CONTROL) | in l1_guest_code() 131 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_PREEMPTION_TIMER); in l1_guest_code()
|
D | vmx_dirty_log_test.c | 65 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
|
D | evmcs_test.c | 62 GUEST_ASSERT(vmreadz(VM_EXIT_REASON) == EXIT_REASON_VMCALL); in l1_guest_code()
|
/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 268 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/ |
D | vmx.h | 513 static inline uint64_t vmreadz(uint64_t encoding) in vmreadz() function
|