Searched refs:vmcs01 (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
H A D | nested.c | 283 if (WARN_ON_ONCE(vmx->loaded_vmcs != &vmx->vmcs01)) in free_nested() 284 vmx_switch_vmcs(vcpu, &vmx->vmcs01); in free_nested() 298 vmcs_clear(vmx->vmcs01.shadow_vmcs); in free_nested() 299 free_vmcs(vmx->vmcs01.shadow_vmcs); in free_nested() 300 vmx->vmcs01.shadow_vmcs = NULL; in free_nested() 324 * vmcs01 of the vcpu before calling free_nested(). 495 msr_bitmap = to_vmx(vcpu)->vmcs01.msr_bitmap; in msr_write_intercepted_l01() 1557 struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs; in copy_shadow_to_vmcs12() 1592 struct vmcs *shadow_vmcs = vmx->vmcs01.shadow_vmcs; in copy_vmcs12_to_shadow() 2195 * Conceptually we want to copy the PML index from vmcs01 her in prepare_vmcs02_constant_state() 2235 prepare_vmcs02_early(struct vcpu_vmx *vmx, struct loaded_vmcs *vmcs01, struct vmcs12 *vmcs12) prepare_vmcs02_early() argument [all...] |
H A D | vmx.h | 239 * non-nested (L1) guest, it always points to vmcs01. For a nested 242 struct loaded_vmcs vmcs01; member
|
H A D | vmx.c | 2145 * in the merging. We update the vmcs01 here for L1 as well in vmx_set_msr() 3201 else /* vmcs01.GUEST_CR3 is already up-to-date. */ in vmx_load_mmu_pgd() 3819 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_msr_bitmap_l01_changed() 3831 unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; in vmx_disable_intercept_for_msr() 3876 unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; in vmx_enable_intercept_for_msr() 3931 unsigned long *msr_bitmap = to_vmx(vcpu)->vmcs01.msr_bitmap; in vmx_reset_x2apic_msrs() 4423 vmcs_write64(MSR_BITMAP, __pa(vmx->vmcs01.msr_bitmap)); in init_vmcs() 6330 /* Postpone execution until vmcs01 is the current VMCS. */ in vmx_set_virtual_apic_mode() 6375 /* Defer reload until vmcs01 is the current VMCS. */ in vmx_set_apic_access_page_addr() 7057 err = alloc_loaded_vmcs(&vmx->vmcs01); in vmx_create_vcpu() [all...] |
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/ |
H A D | nested.c | 298 if (WARN_ON_ONCE(vmx->loaded_vmcs != &vmx->vmcs01)) in free_nested() 299 vmx_switch_vmcs(vcpu, &vmx->vmcs01); in free_nested() 314 vmcs_clear(vmx->vmcs01.shadow_vmcs); in free_nested() 315 free_vmcs(vmx->vmcs01.shadow_vmcs); in free_nested() 316 vmx->vmcs01.shadow_vmcs = NULL; in free_nested() 341 * vmcs01 of the vcpu before calling free_nested(). 509 * For x2APIC MSRs, ignore the vmcs01 bitmap. L1 can enable x2APIC without L1 542 if (vmx_test_msr_bitmap_##rw(vmx->vmcs01.msr_bitmap, msr) || \ 641 * Always check vmcs01's bitmap to honor userspace MSR filters and any in nested_vmx_prepare_msr_bitmap() 642 * other runtime changes to vmcs01' in nested_vmx_prepare_msr_bitmap() 2239 prepare_vmcs02_early(struct vcpu_vmx *vmx, struct loaded_vmcs *vmcs01, struct vmcs12 *vmcs12) prepare_vmcs02_early() argument [all...] |
H A D | vmx.h | 286 * non-nested (L1) guest, it always points to vmcs01. For a nested 289 struct loaded_vmcs vmcs01; member
|
H A D | vmx.c | 2302 * in the merging. We update the vmcs01 here for L1 as well in vmx_set_msr() 3956 struct hv_enlightened_vmcs *evmcs = (void *)vmx->vmcs01.vmcs; in vmx_msr_bitmap_l01_changed() 3969 unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; in vmx_disable_intercept_for_msr() 4013 unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; in vmx_enable_intercept_for_msr() 4052 u64 *msr_bitmap = (u64 *)vmx->vmcs01.msr_bitmap; in vmx_update_msr_bitmap_x2apic() 4424 * Not used by KVM and never set in vmcs01 or vmcs02, but emulated for in vmx_vmexit_ctrl() 4722 vmcs_write64(MSR_BITMAP, __pa(vmx->vmcs01.msr_bitmap)); in init_vmcs() 6707 /* Postpone execution until vmcs01 is the current VMCS. */ in vmx_set_virtual_apic_mode() 6758 /* Defer reload until vmcs01 is the current VMCS. */ in vmx_set_apic_access_page_addr() 7492 err = alloc_loaded_vmcs(&vmx->vmcs01); in vmx_vcpu_create() [all...] |
Completed in 25 milliseconds