Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c84 vmx->vmxon = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_vmx()
85 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
86 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
168 *(uint32_t *)(vmx->vmxon) = vmcs_revision(); in prepare_for_vmx_operation()
169 if (vmxon(vmx->vmxon_gpa)) in prepare_for_vmx_operation()
/Linux-v5.15/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h339 static inline int vmxon(uint64_t phys) in vmxon() function
540 void *vmxon; member
/Linux-v5.15/arch/x86/kvm/vmx/
Dvmx.h125 bool vmxon; member
217 bool vmxon; member
Dnested.c286 if (!vmx->nested.vmxon && !vmx->nested.smm.vmxon) in free_nested()
291 vmx->nested.vmxon = false; in free_nested()
292 vmx->nested.smm.vmxon = false; in free_nested()
1395 if (vmx->nested.vmxon) in vmx_set_vmx_msr()
3316 if (!to_vmx(vcpu)->nested.vmxon) { in nested_vmx_check_permission()
4887 vmx->nested.vmxon = true; in enter_vmx_operation()
4939 if (vmx->nested.vmxon) in handle_vmon()
6123 (vmx->nested.vmxon || vmx->nested.smm.vmxon)) { in vmx_get_nested_state()
6140 if (vmx->nested.smm.vmxon) in vmx_get_nested_state()
6344 vmx->nested.smm.vmxon = true; in vmx_set_nested_state()
[all …]
Dvmx.c2158 vmx->nested.vmxon) in vmx_set_msr()
3144 if (to_vmx(vcpu)->nested.vmxon && !nested_cr4_valid(vcpu, cr4)) in vmx_is_valid_cr4()
4951 if (to_vmx(vcpu)->nested.vmxon && in handle_set_cr0()
7506 vmx->nested.smm.vmxon = vmx->nested.vmxon; in vmx_enter_smm()
7507 vmx->nested.vmxon = false; in vmx_enter_smm()
7517 if (vmx->nested.smm.vmxon) { in vmx_leave_smm()
7518 vmx->nested.vmxon = true; in vmx_leave_smm()
7519 vmx->nested.smm.vmxon = false; in vmx_leave_smm()
7539 return to_vmx(vcpu)->nested.vmxon && !is_guest_mode(vcpu); in vmx_apic_init_signal_blocked()