Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c81 vmx->vmxon = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_vmx()
82 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
83 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
165 *(uint32_t *)(vmx->vmxon) = vmcs_revision(); in prepare_for_vmx_operation()
166 if (vmxon(vmx->vmxon_gpa)) in prepare_for_vmx_operation()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h297 static inline int vmxon(uint64_t phys) in vmxon() function
498 void *vmxon; member
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.h130 bool vmxon; member
251 bool vmxon; member
Dnested.c293 if (!vmx->nested.vmxon && !vmx->nested.smm.vmxon) in free_nested()
298 vmx->nested.vmxon = false; in free_nested()
299 vmx->nested.smm.vmxon = false; in free_nested()
1353 if (vmx->nested.vmxon) in vmx_set_vmx_msr()
3317 if (!to_vmx(vcpu)->nested.vmxon) { in nested_vmx_check_permission()
5070 vmx->nested.vmxon = true; in enter_vmx_operation()
5138 if (vmx->nested.vmxon) in handle_vmxon()
6368 (vmx->nested.vmxon || vmx->nested.smm.vmxon)) { in vmx_get_nested_state()
6385 if (vmx->nested.smm.vmxon) in vmx_get_nested_state()
6586 vmx->nested.smm.vmxon = true; in vmx_set_nested_state()
[all …]
Dvmx.c2284 vmx->nested.vmxon) in vmx_set_msr()
3282 if (to_vmx(vcpu)->nested.vmxon && !nested_cr4_valid(vcpu, cr4)) in vmx_is_valid_cr4()
5286 if (to_vmx(vcpu)->nested.vmxon && in handle_set_cr0()
7929 vmx->nested.smm.vmxon = vmx->nested.vmxon; in vmx_enter_smm()
7930 vmx->nested.vmxon = false; in vmx_enter_smm()
7940 if (vmx->nested.smm.vmxon) { in vmx_leave_smm()
7941 vmx->nested.vmxon = true; in vmx_leave_smm()
7942 vmx->nested.smm.vmxon = false; in vmx_leave_smm()
7963 return to_vmx(vcpu)->nested.vmxon && !is_guest_mode(vcpu); in vmx_apic_init_signal_blocked()