Searched refs:vmwrite (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 110 vmx->vmwrite = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx() 111 vmx->vmwrite_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmwrite); in vcpu_alloc_vmx() 112 vmx->vmwrite_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmwrite); in vcpu_alloc_vmx() 210 vmwrite(VIRTUAL_PROCESSOR_ID, 0); in init_vmcs_control_fields() 211 vmwrite(POSTED_INTR_NV, 0); in init_vmcs_control_fields() 213 vmwrite(PIN_BASED_VM_EXEC_CONTROL, rdmsr(MSR_IA32_VMX_TRUE_PINBASED_CTLS)); in init_vmcs_control_fields() 225 vmwrite(EPT_POINTER, ept_paddr); in init_vmcs_control_fields() 229 if (!vmwrite(SECONDARY_VM_EXEC_CONTROL, sec_exec_ctl)) in init_vmcs_control_fields() 230 vmwrite(CPU_BASED_VM_EXEC_CONTROL, in init_vmcs_control_fields() 233 vmwrite(CPU_BASED_VM_EXEC_CONTROL, rdmsr(MSR_IA32_VMX_TRUE_PROCBASED_CTLS)); in init_vmcs_control_fields() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
D | state_test.c | 67 GUEST_ASSERT(!vmwrite(GUEST_RIP, 0xc0fffee)); in vmx_l2_guest_code() 70 GUEST_ASSERT(!vmwrite(GUEST_RIP, 0xc0ffffee)); in vmx_l2_guest_code() 111 vmwrite(GUEST_RIP, vmreadz(GUEST_RIP) + 3); in vmx_l1_guest_code() 113 vmwrite(SECONDARY_VM_EXEC_CONTROL, SECONDARY_EXEC_SHADOW_VMCS); in vmx_l1_guest_code() 114 vmwrite(VMCS_LINK_POINTER, vmx_pages->shadow_vmcs_gpa); in vmx_l1_guest_code() 122 vmwrite(GUEST_RIP, 0xc0ffee); in vmx_l1_guest_code()
|
D | vmx_apic_access_test.c | 56 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code() 59 vmwrite(SECONDARY_VM_EXEC_CONTROL, control); in l1_guest_code() 60 vmwrite(APIC_ACCESS_ADDR, vmx_pages->apic_access_gpa); in l1_guest_code() 67 vmwrite(APIC_ACCESS_ADDR, high_gpa); in l1_guest_code()
|
D | vmx_tsc_adjust_test.c | 102 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code() 103 vmwrite(TSC_OFFSET, TSC_OFFSET_VALUE); in l1_guest_code() 107 vmwrite(GUEST_CR3, -1ull); in l1_guest_code() 112 vmwrite(GUEST_CR3, save_cr3); in l1_guest_code()
|
D | vmx_preemption_timer_test.c | 100 vmwrite(GUEST_RIP, vmreadz(GUEST_RIP) + vmreadz(VM_EXIT_INSTRUCTION_LEN)); in l1_guest_code() 105 GUEST_ASSERT(!vmwrite(PIN_BASED_VM_EXEC_CONTROL, in l1_guest_code() 109 GUEST_ASSERT(!vmwrite(VMX_PREEMPTION_TIMER_VALUE, in l1_guest_code()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/ |
D | vmx.h | 520 static inline int vmwrite(uint64_t encoding, uint64_t value) in vmwrite() function 563 void *vmwrite; member
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | vmx_ops.h | 176 vmx_asm2(vmwrite, "r"(field), "rm"(value), field, value); in __vmcs_writel()
|