Home
last modified time | relevance | path

Searched refs:vmxon (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/tools/testing/selftests/kvm/lib/
Dvmx.c34 vmx->vmxon = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx()
35 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
36 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
106 *(uint32_t *)(vmx->vmxon) = vmcs_revision(); in prepare_for_vmx_operation()
107 if (vmxon(vmx->vmxon_gpa)) in prepare_for_vmx_operation()
/Linux-v4.19/tools/testing/selftests/kvm/include/
Dvmx.h342 static inline int vmxon(uint64_t phys) in vmxon() function
525 void *vmxon; member
/Linux-v4.19/arch/x86/kvm/
Dvmx.c811 bool vmxon; member
869 bool vmxon; member
3909 if (vmx->nested.vmxon) in vmx_set_vmx_msr()
5391 if (to_vmx(vcpu)->nested.vmxon && !nested_cr4_valid(vcpu, cr4)) in vmx_set_cr4()
7215 if (to_vmx(vcpu)->nested.vmxon && in handle_set_cr0()
8295 vmx->nested.vmxon = true; in enter_vmx_operation()
8348 if (vmx->nested.vmxon) { in handle_vmon()
8407 if (!to_vmx(vcpu)->nested.vmxon) { in nested_vmx_check_permission()
8454 if (!vmx->nested.vmxon && !vmx->nested.smm.vmxon) in free_nested()
8457 vmx->nested.vmxon = false; in free_nested()
[all …]