Home
last modified time | relevance | path

Searched refs:vmwrite (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dvmx.c196 vmwrite(POSTED_INTR_NV, 0); in init_vmcs_control_fields()
234 vmwrite(TPR_THRESHOLD, 0); in init_vmcs_control_fields()
278 vmwrite(HOST_TR_BASE, in init_vmcs_host_state()
321 vmwrite(GUEST_ES_AR_BYTES, in init_vmcs_guest_state()
325 vmwrite(GUEST_DS_AR_BYTES, in init_vmcs_guest_state()
327 vmwrite(GUEST_FS_AR_BYTES, in init_vmcs_guest_state()
329 vmwrite(GUEST_GS_AR_BYTES, in init_vmcs_guest_state()
341 vmwrite(GUEST_ES_BASE, 0); in init_vmcs_guest_state()
342 vmwrite(GUEST_CS_BASE, 0); in init_vmcs_guest_state()
343 vmwrite(GUEST_SS_BASE, 0); in init_vmcs_guest_state()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dvmx_apic_access_test.c51 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code()
54 vmwrite(SECONDARY_VM_EXEC_CONTROL, control); in l1_guest_code()
55 vmwrite(APIC_ACCESS_ADDR, vmx_pages->apic_access_gpa); in l1_guest_code()
62 vmwrite(APIC_ACCESS_ADDR, high_gpa); in l1_guest_code()
H A Dvmx_tsc_adjust_test.c94 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code()
95 vmwrite(TSC_OFFSET, TSC_OFFSET_VALUE); in l1_guest_code()
99 vmwrite(GUEST_CR3, -1ull); in l1_guest_code()
104 vmwrite(GUEST_CR3, save_cr3); in l1_guest_code()
H A Dvmx_nested_tsc_scaling_test.c99 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code()
103 vmwrite(SECONDARY_VM_EXEC_CONTROL, control); in l1_guest_code()
105 vmwrite(TSC_OFFSET, TSC_OFFSET_L2); in l1_guest_code()
106 vmwrite(TSC_MULTIPLIER, TSC_MULTIPLIER_L2); in l1_guest_code()
107 vmwrite(TSC_MULTIPLIER_HIGH, TSC_MULTIPLIER_L2 >> 32); in l1_guest_code()
H A Dstate_test.c66 GUEST_ASSERT(!vmwrite(GUEST_RIP, 0xc0fffee)); in vmx_l2_guest_code()
69 GUEST_ASSERT(!vmwrite(GUEST_RIP, 0xc0ffffee)); in vmx_l2_guest_code()
110 vmwrite(GUEST_RIP, vmreadz(GUEST_RIP) + 3); in vmx_l1_guest_code()
112 vmwrite(SECONDARY_VM_EXEC_CONTROL, SECONDARY_EXEC_SHADOW_VMCS); in vmx_l1_guest_code()
113 vmwrite(VMCS_LINK_POINTER, vmx_pages->shadow_vmcs_gpa); in vmx_l1_guest_code()
121 vmwrite(GUEST_RIP, 0xc0ffee); in vmx_l1_guest_code()
H A Dnested_exceptions_test.c117 GUEST_ASSERT(!vmwrite(GUEST_RIP, (u64)l2_code)); in vmx_run_l2()
138 GUEST_ASSERT_EQ(vmwrite(GUEST_IDTR_LIMIT, 0), 0); in l1_vmx_code()
145 GUEST_ASSERT_EQ(vmwrite(EXCEPTION_BITMAP, INTERCEPT_SS_GP_DF), 0); in l1_vmx_code()
149 GUEST_ASSERT_EQ(vmwrite(EXCEPTION_BITMAP, INTERCEPT_SS_DF), 0); in l1_vmx_code()
152 GUEST_ASSERT_EQ(vmwrite(EXCEPTION_BITMAP, INTERCEPT_SS), 0); in l1_vmx_code()
H A Dvmx_preemption_timer_test.c99 vmwrite(GUEST_RIP, vmreadz(GUEST_RIP) + vmreadz(VM_EXIT_INSTRUCTION_LEN)); in l1_guest_code()
104 GUEST_ASSERT(!vmwrite(PIN_BASED_VM_EXEC_CONTROL, in l1_guest_code()
108 GUEST_ASSERT(!vmwrite(VMX_PREEMPTION_TIMER_VALUE, in l1_guest_code()
H A Dhyperv_evmcs.c114 vmwrite(PIN_BASED_VM_EXEC_CONTROL, vmreadz(PIN_BASED_VM_EXEC_CONTROL) | in guest_code()
143 vmwrite(CPU_BASED_VM_EXEC_CONTROL, vmreadz(CPU_BASED_VM_EXEC_CONTROL) | in guest_code()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dvmx.h480 static inline int vmwrite(uint64_t encoding, uint64_t value) in vmwrite() function
523 void *vmwrite; member
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx_ops.h225 vmx_asm2(vmwrite, "r"(field), "rm"(value), field, value); in __vmcs_writel()
/openbmc/qemu/tests/tcg/i386/
H A Dx86.csv3203 "VMWRITE r32, r/m32","VMWRITE r/m32, r32","vmwrite r/m32, r32","0F 79 /r","V","N.S.","VTX","","r,r"…
3204 "VMWRITE r64, r/m64","VMWRITE r/m64, r64","vmwrite r/m64, r64","0F 79 /r","N.S.","V","VTX","default…