Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/lib/x86/
H A Dvmx.c79 vmx->vmxon = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_vmx()
80 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
81 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
151 *(uint32_t *)(vmx->vmxon) = vmcs_revision(); in prepare_for_vmx_operation()
152 if (vmxon(vmx->vmxon_gpa)) in prepare_for_vmx_operation()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dvmx.h295 static inline int vmxon(uint64_t phys) in vmxon() function
501 void *vmxon; member
/linux/arch/x86/kvm/vmx/
H A Dvmx.h76 bool vmxon; member
199 bool vmxon; member
H A Dnested.c340 if (!vmx->nested.vmxon && !vmx->nested.smm.vmxon) in free_nested()
345 vmx->nested.vmxon = false; in free_nested()
346 vmx->nested.smm.vmxon = false; in free_nested()
1490 if (vmx->nested.vmxon) in vmx_set_vmx_msr()
3558 if (!to_vmx(vcpu)->nested.vmxon) { in nested_vmx_check_permission()
5444 vmx->nested.vmxon = true; in enter_vmx_operation()
5512 if (vmx->nested.vmxon) in handle_vmxon()
6775 (vmx->nested.vmxon || vmx->nested.smm.vmxon)) { in vmx_get_nested_state()
6792 if (vmx->nested.smm.vmxon) in vmx_get_nested_state()
6996 vmx->nested.smm.vmxon = true; in vmx_set_nested_state()
[all …]
H A Dvmx.c2489 vmx->nested.vmxon) in vmx_set_msr()
3440 if (to_vmx(vcpu)->nested.vmxon) in vmx_is_valid_cr0()
3581 if (to_vmx(vcpu)->nested.vmxon && !nested_cr4_valid(vcpu, cr4)) in vmx_is_valid_cr4()
8320 vmx->nested.smm.vmxon = vmx->nested.vmxon; in vmx_enter_smm()
8321 vmx->nested.vmxon = false; in vmx_enter_smm()
8331 if (vmx->nested.smm.vmxon) { in vmx_leave_smm()
8332 vmx->nested.vmxon = true; in vmx_leave_smm()
8333 vmx->nested.smm.vmxon = false; in vmx_leave_smm()
8355 return to_vmx(vcpu)->nested.vmxon && !is_guest_mode(vcpu); in vmx_apic_init_signal_blocked()