Home
last modified time | relevance | path

Searched refs:shadow_vmcs (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmcs.h18 u32 shadow_vmcs:1; member
63 struct vmcs *shadow_vmcs; member
H A Dnested.c316 vmx->vmcs01.shadow_vmcs = NULL; in free_nested()
1520 struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs; in copy_shadow_to_vmcs12() local
1526 if (WARN_ON(!shadow_vmcs)) in copy_shadow_to_vmcs12()
1531 vmcs_load(shadow_vmcs); in copy_shadow_to_vmcs12()
1539 vmcs_clear(shadow_vmcs); in copy_shadow_to_vmcs12()
1555 struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs; in copy_vmcs12_to_shadow() local
1561 if (WARN_ON(!shadow_vmcs)) in copy_vmcs12_to_shadow()
1564 vmcs_load(shadow_vmcs); in copy_vmcs12_to_shadow()
1575 vmcs_clear(shadow_vmcs); in copy_vmcs12_to_shadow()
5086 if (loaded_vmcs->shadow_vmcs) in alloc_shadow_vmcs()
[all …]
H A Dvmx.c803 if (loaded_vmcs->shadow_vmcs && loaded_vmcs->launched) in __loaded_vmcs_clear()
804 vmcs_clear(loaded_vmcs->shadow_vmcs); in __loaded_vmcs_clear()
2886 vmcs->hdr.shadow_vmcs = 1; in alloc_vmcs_cpu()
2907 WARN_ON(loaded_vmcs->shadow_vmcs != NULL); in free_loaded_vmcs()
2918 loaded_vmcs->shadow_vmcs = NULL; in alloc_loaded_vmcs()
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dvmx.c97 vmx->shadow_vmcs = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_vmx()
98 vmx->shadow_vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->shadow_vmcs); in vcpu_alloc_vmx()
99 vmx->shadow_vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->shadow_vmcs); in vcpu_alloc_vmx()
171 *(uint32_t *)(vmx->shadow_vmcs) = vmcs_revision() | 0x80000000ul; in load_vmcs()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dvmx.h515 void *shadow_vmcs; member
/openbmc/linux/Documentation/virt/kvm/x86/
H A Dnested-vmx.rst81 struct shadow_vmcs is ever changed.