Lines Matching refs:nested
102 static bool __read_mostly nested = 0; variable
103 module_param(nested, bool, S_IRUGO);
589 struct nested_vmx nested; member
839 return to_vmx(vcpu)->nested.current_vmcs12; in get_vmcs12()
2416 to_vmx(vcpu)->nested.vmcs01_tsc_offset : in vmx_read_l1_tsc()
2439 to_vmx(vcpu)->nested.vmcs01_tsc_offset = offset; in vmx_write_tsc_offset()
2459 to_vmx(vcpu)->nested.vmcs01_tsc_offset += adjustment; in vmx_adjust_tsc_offset_guest()
2479 return nested && guest_cpuid_has_vmx(vcpu); in nested_vmx_allowed()
2511 vmx->nested.nested_vmx_pinbased_ctls_low, in nested_vmx_setup_ctls_msrs()
2512 vmx->nested.nested_vmx_pinbased_ctls_high); in nested_vmx_setup_ctls_msrs()
2513 vmx->nested.nested_vmx_pinbased_ctls_low |= in nested_vmx_setup_ctls_msrs()
2515 vmx->nested.nested_vmx_pinbased_ctls_high &= in nested_vmx_setup_ctls_msrs()
2519 vmx->nested.nested_vmx_pinbased_ctls_high |= in nested_vmx_setup_ctls_msrs()
2523 vmx->nested.nested_vmx_pinbased_ctls_high |= in nested_vmx_setup_ctls_msrs()
2528 vmx->nested.nested_vmx_exit_ctls_low, in nested_vmx_setup_ctls_msrs()
2529 vmx->nested.nested_vmx_exit_ctls_high); in nested_vmx_setup_ctls_msrs()
2530 vmx->nested.nested_vmx_exit_ctls_low = in nested_vmx_setup_ctls_msrs()
2533 vmx->nested.nested_vmx_exit_ctls_high &= in nested_vmx_setup_ctls_msrs()
2538 vmx->nested.nested_vmx_exit_ctls_high |= in nested_vmx_setup_ctls_msrs()
2544 vmx->nested.nested_vmx_exit_ctls_high |= VM_EXIT_CLEAR_BNDCFGS; in nested_vmx_setup_ctls_msrs()
2547 vmx->nested.nested_vmx_true_exit_ctls_low = in nested_vmx_setup_ctls_msrs()
2548 vmx->nested.nested_vmx_exit_ctls_low & in nested_vmx_setup_ctls_msrs()
2553 vmx->nested.nested_vmx_entry_ctls_low, in nested_vmx_setup_ctls_msrs()
2554 vmx->nested.nested_vmx_entry_ctls_high); in nested_vmx_setup_ctls_msrs()
2555 vmx->nested.nested_vmx_entry_ctls_low = in nested_vmx_setup_ctls_msrs()
2557 vmx->nested.nested_vmx_entry_ctls_high &= in nested_vmx_setup_ctls_msrs()
2562 vmx->nested.nested_vmx_entry_ctls_high |= in nested_vmx_setup_ctls_msrs()
2565 vmx->nested.nested_vmx_entry_ctls_high |= VM_ENTRY_LOAD_BNDCFGS; in nested_vmx_setup_ctls_msrs()
2568 vmx->nested.nested_vmx_true_entry_ctls_low = in nested_vmx_setup_ctls_msrs()
2569 vmx->nested.nested_vmx_entry_ctls_low & in nested_vmx_setup_ctls_msrs()
2574 vmx->nested.nested_vmx_procbased_ctls_low, in nested_vmx_setup_ctls_msrs()
2575 vmx->nested.nested_vmx_procbased_ctls_high); in nested_vmx_setup_ctls_msrs()
2576 vmx->nested.nested_vmx_procbased_ctls_low = in nested_vmx_setup_ctls_msrs()
2578 vmx->nested.nested_vmx_procbased_ctls_high &= in nested_vmx_setup_ctls_msrs()
2598 vmx->nested.nested_vmx_procbased_ctls_high |= in nested_vmx_setup_ctls_msrs()
2603 vmx->nested.nested_vmx_true_procbased_ctls_low = in nested_vmx_setup_ctls_msrs()
2604 vmx->nested.nested_vmx_procbased_ctls_low & in nested_vmx_setup_ctls_msrs()
2609 vmx->nested.nested_vmx_secondary_ctls_low, in nested_vmx_setup_ctls_msrs()
2610 vmx->nested.nested_vmx_secondary_ctls_high); in nested_vmx_setup_ctls_msrs()
2611 vmx->nested.nested_vmx_secondary_ctls_low = 0; in nested_vmx_setup_ctls_msrs()
2612 vmx->nested.nested_vmx_secondary_ctls_high &= in nested_vmx_setup_ctls_msrs()
2625 vmx->nested.nested_vmx_secondary_ctls_high |= in nested_vmx_setup_ctls_msrs()
2627 vmx->nested.nested_vmx_ept_caps = VMX_EPT_PAGE_WALK_4_BIT | in nested_vmx_setup_ctls_msrs()
2630 vmx->nested.nested_vmx_ept_caps &= vmx_capability.ept; in nested_vmx_setup_ctls_msrs()
2636 vmx->nested.nested_vmx_ept_caps |= VMX_EPT_EXTENT_GLOBAL_BIT; in nested_vmx_setup_ctls_msrs()
2638 vmx->nested.nested_vmx_ept_caps = 0; in nested_vmx_setup_ctls_msrs()
2647 vmx->nested.nested_vmx_vpid_caps = VMX_VPID_INVVPID_BIT | in nested_vmx_setup_ctls_msrs()
2651 vmx->nested.nested_vmx_vpid_caps = 0; in nested_vmx_setup_ctls_msrs()
2654 vmx->nested.nested_vmx_secondary_ctls_high |= in nested_vmx_setup_ctls_msrs()
2659 vmx->nested.nested_vmx_misc_low, in nested_vmx_setup_ctls_msrs()
2660 vmx->nested.nested_vmx_misc_high); in nested_vmx_setup_ctls_msrs()
2661 vmx->nested.nested_vmx_misc_low &= VMX_MISC_SAVE_EFER_LMA; in nested_vmx_setup_ctls_msrs()
2662 vmx->nested.nested_vmx_misc_low |= in nested_vmx_setup_ctls_msrs()
2665 vmx->nested.nested_vmx_misc_high = 0; in nested_vmx_setup_ctls_msrs()
2701 vmx->nested.nested_vmx_pinbased_ctls_low, in vmx_get_vmx_msr()
2702 vmx->nested.nested_vmx_pinbased_ctls_high); in vmx_get_vmx_msr()
2706 vmx->nested.nested_vmx_true_procbased_ctls_low, in vmx_get_vmx_msr()
2707 vmx->nested.nested_vmx_procbased_ctls_high); in vmx_get_vmx_msr()
2711 vmx->nested.nested_vmx_procbased_ctls_low, in vmx_get_vmx_msr()
2712 vmx->nested.nested_vmx_procbased_ctls_high); in vmx_get_vmx_msr()
2716 vmx->nested.nested_vmx_true_exit_ctls_low, in vmx_get_vmx_msr()
2717 vmx->nested.nested_vmx_exit_ctls_high); in vmx_get_vmx_msr()
2721 vmx->nested.nested_vmx_exit_ctls_low, in vmx_get_vmx_msr()
2722 vmx->nested.nested_vmx_exit_ctls_high); in vmx_get_vmx_msr()
2726 vmx->nested.nested_vmx_true_entry_ctls_low, in vmx_get_vmx_msr()
2727 vmx->nested.nested_vmx_entry_ctls_high); in vmx_get_vmx_msr()
2731 vmx->nested.nested_vmx_entry_ctls_low, in vmx_get_vmx_msr()
2732 vmx->nested.nested_vmx_entry_ctls_high); in vmx_get_vmx_msr()
2736 vmx->nested.nested_vmx_misc_low, in vmx_get_vmx_msr()
2737 vmx->nested.nested_vmx_misc_high); in vmx_get_vmx_msr()
2763 vmx->nested.nested_vmx_secondary_ctls_low, in vmx_get_vmx_msr()
2764 vmx->nested.nested_vmx_secondary_ctls_high); in vmx_get_vmx_msr()
2768 *pdata = vmx->nested.nested_vmx_ept_caps | in vmx_get_vmx_msr()
2769 ((u64)vmx->nested.nested_vmx_vpid_caps << 32); in vmx_get_vmx_msr()
2822 msr_info->data = to_vmx(vcpu)->nested.msr_ia32_feature_control; in vmx_get_msr()
2914 (to_vmx(vcpu)->nested.msr_ia32_feature_control & in vmx_set_msr()
2917 vmx->nested.msr_ia32_feature_control = data; in vmx_set_msr()
3805 if (to_vmx(vcpu)->nested.vmxon && in vmx_set_cr4()
4505 if (vmx->nested.pi_desc && in vmx_complete_nested_posted_interrupt()
4506 vmx->nested.pi_pending) { in vmx_complete_nested_posted_interrupt()
4507 vmx->nested.pi_pending = false; in vmx_complete_nested_posted_interrupt()
4508 if (!pi_test_and_clear_on(vmx->nested.pi_desc)) in vmx_complete_nested_posted_interrupt()
4512 (unsigned long *)vmx->nested.pi_desc->pir, 256); in vmx_complete_nested_posted_interrupt()
4517 vapic_page = kmap(vmx->nested.virtual_apic_page); in vmx_complete_nested_posted_interrupt()
4522 __kvm_apic_update_irr(vmx->nested.pi_desc->pir, vapic_page); in vmx_complete_nested_posted_interrupt()
4523 kunmap(vmx->nested.virtual_apic_page); in vmx_complete_nested_posted_interrupt()
4569 vector == vmx->nested.posted_intr_nv) { in vmx_deliver_nested_posted_interrupt()
4576 vmx->nested.pi_pending = true; in vmx_deliver_nested_posted_interrupt()
5106 if (to_vmx(vcpu)->nested.nested_run_pending) in vmx_nmi_allowed()
5119 return (!to_vmx(vcpu)->nested.nested_run_pending && in vmx_interrupt_allowed()
5382 if (to_vmx(vcpu)->nested.nested_vmx_secondary_ctls_high & in nested_cr0_valid()
5415 if (to_vmx(vcpu)->nested.vmxon && in handle_set_cr0()
6145 if (nested) { in hardware_setup()
6174 if (nested) in hardware_setup()
6311 if (nested) in hardware_setup()
6339 if (nested) in hardware_unsetup()
6400 list_for_each_entry(item, &vmx->nested.vmcs02_pool, list) in nested_get_current_vmcs02()
6401 if (item->vmptr == vmx->nested.current_vmptr) { in nested_get_current_vmcs02()
6402 list_move(&item->list, &vmx->nested.vmcs02_pool); in nested_get_current_vmcs02()
6406 if (vmx->nested.vmcs02_num >= max(VMCS02_POOL_SIZE, 1)) { in nested_get_current_vmcs02()
6408 item = list_entry(vmx->nested.vmcs02_pool.prev, in nested_get_current_vmcs02()
6410 item->vmptr = vmx->nested.current_vmptr; in nested_get_current_vmcs02()
6411 list_move(&item->list, &vmx->nested.vmcs02_pool); in nested_get_current_vmcs02()
6425 item->vmptr = vmx->nested.current_vmptr; in nested_get_current_vmcs02()
6426 list_add(&(item->list), &(vmx->nested.vmcs02_pool)); in nested_get_current_vmcs02()
6427 vmx->nested.vmcs02_num++; in nested_get_current_vmcs02()
6435 list_for_each_entry(item, &vmx->nested.vmcs02_pool, list) in nested_free_vmcs02()
6440 vmx->nested.vmcs02_num--; in nested_free_vmcs02()
6455 list_for_each_entry_safe(item, n, &vmx->nested.vmcs02_pool, list) { in nested_free_all_saved_vmcss()
6466 vmx->nested.vmcs02_num--; in nested_free_all_saved_vmcss()
6493 if (to_vmx(vcpu)->nested.current_vmptr == -1ull) { in nested_vmx_failValid()
6522 container_of(timer, struct vcpu_vmx, nested.preemption_timer); in vmx_preemption_timer_fn()
6524 vmx->nested.preemption_timer_expired = true; in vmx_preemption_timer_fn()
6683 vmx->nested.vmxon_ptr = vmptr; in nested_vmx_check_vmptr()
6693 if (vmptr == vmx->nested.vmxon_ptr) { in nested_vmx_check_vmptr()
6708 if (vmptr == vmx->nested.vmxon_ptr) { in nested_vmx_check_vmptr()
6766 if (vmx->nested.vmxon) { in handle_vmon()
6772 if ((vmx->nested.msr_ia32_feature_control & VMXON_NEEDED_FEATURES) in handle_vmon()
6786 vmx->nested.current_shadow_vmcs = shadow_vmcs; in handle_vmon()
6789 INIT_LIST_HEAD(&(vmx->nested.vmcs02_pool)); in handle_vmon()
6790 vmx->nested.vmcs02_num = 0; in handle_vmon()
6792 hrtimer_init(&vmx->nested.preemption_timer, CLOCK_MONOTONIC, in handle_vmon()
6794 vmx->nested.preemption_timer.function = vmx_preemption_timer_fn; in handle_vmon()
6796 vmx->nested.vmxon = true; in handle_vmon()
6813 if (!vmx->nested.vmxon) { in nested_vmx_check_permission()
6835 if (vmx->nested.current_vmptr == -1ull) in nested_release_vmcs12()
6839 if (WARN_ON(vmx->nested.current_vmcs12 == NULL)) in nested_release_vmcs12()
6846 vmx->nested.sync_shadow_vmcs = false; in nested_release_vmcs12()
6851 vmx->nested.posted_intr_nv = -1; in nested_release_vmcs12()
6852 kunmap(vmx->nested.current_vmcs12_page); in nested_release_vmcs12()
6853 nested_release_page(vmx->nested.current_vmcs12_page); in nested_release_vmcs12()
6854 vmx->nested.current_vmptr = -1ull; in nested_release_vmcs12()
6855 vmx->nested.current_vmcs12 = NULL; in nested_release_vmcs12()
6864 if (!vmx->nested.vmxon) in free_nested()
6867 vmx->nested.vmxon = false; in free_nested()
6868 free_vpid(vmx->nested.vpid02); in free_nested()
6871 free_vmcs(vmx->nested.current_shadow_vmcs); in free_nested()
6873 if (vmx->nested.apic_access_page) { in free_nested()
6874 nested_release_page(vmx->nested.apic_access_page); in free_nested()
6875 vmx->nested.apic_access_page = NULL; in free_nested()
6877 if (vmx->nested.virtual_apic_page) { in free_nested()
6878 nested_release_page(vmx->nested.virtual_apic_page); in free_nested()
6879 vmx->nested.virtual_apic_page = NULL; in free_nested()
6881 if (vmx->nested.pi_desc_page) { in free_nested()
6882 kunmap(vmx->nested.pi_desc_page); in free_nested()
6883 nested_release_page(vmx->nested.pi_desc_page); in free_nested()
6884 vmx->nested.pi_desc_page = NULL; in free_nested()
6885 vmx->nested.pi_desc = NULL; in free_nested()
6916 if (vmptr == vmx->nested.current_vmptr) in handle_vmclear()
7047 struct vmcs *shadow_vmcs = vmx->nested.current_shadow_vmcs; in copy_shadow_to_vmcs12()
7096 struct vmcs *shadow_vmcs = vmx->nested.current_shadow_vmcs; in copy_vmcs12_to_shadow()
7136 if (vmx->nested.current_vmptr == -1ull) { in nested_vmx_check_vmcs12()
7252 if (vmx->nested.current_vmptr != vmptr) { in handle_vmptrld()
7272 vmx->nested.current_vmptr = vmptr; in handle_vmptrld()
7273 vmx->nested.current_vmcs12 = new_vmcs12; in handle_vmptrld()
7274 vmx->nested.current_vmcs12_page = page; in handle_vmptrld()
7279 __pa(vmx->nested.current_shadow_vmcs)); in handle_vmptrld()
7280 vmx->nested.sync_shadow_vmcs = true; in handle_vmptrld()
7305 (void *)&to_vmx(vcpu)->nested.current_vmptr, in handle_vmptrst()
7327 if (!(vmx->nested.nested_vmx_secondary_ctls_high & in handle_invept()
7329 !(vmx->nested.nested_vmx_ept_caps & VMX_EPT_INVEPT_BIT)) { in handle_invept()
7345 types = (vmx->nested.nested_vmx_ept_caps >> VMX_EPT_EXTENT_SHIFT) & 6; in handle_invept()
7391 if (!(vmx->nested.nested_vmx_secondary_ctls_high & in handle_invvpid()
7393 !(vmx->nested.nested_vmx_vpid_caps & VMX_VPID_INVVPID_BIT)) { in handle_invvpid()
7404 types = (vmx->nested.nested_vmx_vpid_caps >> 8) & 0x7; in handle_invvpid()
7432 __vmx_flush_tlb(vcpu, to_vmx(vcpu)->nested.vpid02); in handle_invvpid()
7714 if (vmx->nested.nested_run_pending) in nested_vmx_exit_handled()
8230 !nested_cpu_has2(vmx->nested.current_vmcs12, in vmx_set_apic_access_page_addr()
8546 if (vmx->nested.sync_shadow_vmcs) { in vmx_vcpu_run()
8548 vmx->nested.sync_shadow_vmcs = false; in vmx_vcpu_run()
8714 if (vmx->nested.nested_run_pending) in vmx_vcpu_run()
8717 vmx->nested.nested_run_pending = 0; in vmx_vcpu_run()
8813 if (nested) { in vmx_create_vcpu()
8815 vmx->nested.vpid02 = allocate_vpid(); in vmx_create_vcpu()
8818 vmx->nested.posted_intr_nv = -1; in vmx_create_vcpu()
8819 vmx->nested.current_vmptr = -1ull; in vmx_create_vcpu()
8820 vmx->nested.current_vmcs12 = NULL; in vmx_create_vcpu()
8837 free_vpid(vmx->nested.vpid02); in vmx_create_vcpu()
8949 if (nested) { in vmx_cpuid_update()
8951 vmx->nested.nested_vmx_secondary_ctls_high |= in vmx_cpuid_update()
8954 vmx->nested.nested_vmx_secondary_ctls_high &= in vmx_cpuid_update()
8973 if (static_cpu_has(X86_FEATURE_PCOMMIT) && nested) { in vmx_cpuid_update()
8975 vmx->nested.nested_vmx_secondary_ctls_high |= in vmx_cpuid_update()
8978 vmx->nested.nested_vmx_secondary_ctls_high &= in vmx_cpuid_update()
8985 if (func == 1 && nested) in vmx_set_supported_cpuid()
9015 to_vmx(vcpu)->nested.nested_vmx_ept_caps & in nested_ept_init_mmu_context()
9073 if (vmx->nested.apic_access_page) /* shouldn't happen */ in nested_get_vmcs12_pages()
9074 nested_release_page(vmx->nested.apic_access_page); in nested_get_vmcs12_pages()
9075 vmx->nested.apic_access_page = in nested_get_vmcs12_pages()
9084 if (vmx->nested.virtual_apic_page) /* shouldn't happen */ in nested_get_vmcs12_pages()
9085 nested_release_page(vmx->nested.virtual_apic_page); in nested_get_vmcs12_pages()
9086 vmx->nested.virtual_apic_page = in nested_get_vmcs12_pages()
9099 if (!vmx->nested.virtual_apic_page) in nested_get_vmcs12_pages()
9108 if (vmx->nested.pi_desc_page) { /* shouldn't happen */ in nested_get_vmcs12_pages()
9109 kunmap(vmx->nested.pi_desc_page); in nested_get_vmcs12_pages()
9110 nested_release_page(vmx->nested.pi_desc_page); in nested_get_vmcs12_pages()
9112 vmx->nested.pi_desc_page = in nested_get_vmcs12_pages()
9114 if (!vmx->nested.pi_desc_page) in nested_get_vmcs12_pages()
9117 vmx->nested.pi_desc = in nested_get_vmcs12_pages()
9118 (struct pi_desc *)kmap(vmx->nested.pi_desc_page); in nested_get_vmcs12_pages()
9119 if (!vmx->nested.pi_desc) { in nested_get_vmcs12_pages()
9120 nested_release_page_clean(vmx->nested.pi_desc_page); in nested_get_vmcs12_pages()
9123 vmx->nested.pi_desc = in nested_get_vmcs12_pages()
9124 (struct pi_desc *)((void *)vmx->nested.pi_desc + in nested_get_vmcs12_pages()
9143 vmx_preemption_timer_fn(&vmx->nested.preemption_timer); in vmx_start_preemption_timer()
9150 hrtimer_start(&vmx->nested.preemption_timer, in vmx_start_preemption_timer()
9515 vmcs_write64(GUEST_IA32_DEBUGCTL, vmx->nested.vmcs01_debugctl); in prepare_vmcs02()
9545 vmx->nested.posted_intr_nv = vmcs12->posted_intr_nv; in prepare_vmcs02()
9546 vmx->nested.pi_pending = false; in prepare_vmcs02()
9549 page_to_phys(vmx->nested.pi_desc_page) + in prepare_vmcs02()
9557 vmx->nested.preemption_timer_expired = false; in prepare_vmcs02()
9606 if (!vmx->nested.apic_access_page) in prepare_vmcs02()
9611 page_to_phys(vmx->nested.apic_access_page)); in prepare_vmcs02()
9661 page_to_phys(vmx->nested.virtual_apic_page)); in prepare_vmcs02()
9717 vmx->nested.vmcs01_tsc_offset + vmcs12->tsc_offset); in prepare_vmcs02()
9719 vmcs_write64(TSC_OFFSET, vmx->nested.vmcs01_tsc_offset); in prepare_vmcs02()
9730 if (nested_cpu_has_vpid(vmcs12) && vmx->nested.vpid02) { in prepare_vmcs02()
9731 vmcs_write16(VIRTUAL_PROCESSOR_ID, vmx->nested.vpid02); in prepare_vmcs02()
9732 if (vmcs12->virtual_processor_id != vmx->nested.last_vpid) { in prepare_vmcs02()
9733 vmx->nested.last_vpid = vmcs12->virtual_processor_id; in prepare_vmcs02()
9734 __vmx_flush_tlb(vcpu, to_vmx(vcpu)->nested.vpid02); in prepare_vmcs02()
9859 vmx->nested.nested_vmx_true_procbased_ctls_low, in nested_vmx_run()
9860 vmx->nested.nested_vmx_procbased_ctls_high) || in nested_vmx_run()
9862 vmx->nested.nested_vmx_secondary_ctls_low, in nested_vmx_run()
9863 vmx->nested.nested_vmx_secondary_ctls_high) || in nested_vmx_run()
9865 vmx->nested.nested_vmx_pinbased_ctls_low, in nested_vmx_run()
9866 vmx->nested.nested_vmx_pinbased_ctls_high) || in nested_vmx_run()
9868 vmx->nested.nested_vmx_true_exit_ctls_low, in nested_vmx_run()
9869 vmx->nested.nested_vmx_exit_ctls_high) || in nested_vmx_run()
9871 vmx->nested.nested_vmx_true_entry_ctls_low, in nested_vmx_run()
9872 vmx->nested.nested_vmx_entry_ctls_high)) in nested_vmx_run()
9947 vmx->nested.vmcs01_tsc_offset = vmcs_read64(TSC_OFFSET); in nested_vmx_run()
9950 vmx->nested.vmcs01_debugctl = vmcs_read64(GUEST_IA32_DEBUGCTL); in nested_vmx_run()
9979 vmx->nested.nested_run_pending = 1; in nested_vmx_run()
10074 vmx->nested.preemption_timer_expired) { in vmx_check_nested_events()
10075 if (vmx->nested.nested_run_pending) in vmx_check_nested_events()
10082 if (vmx->nested.nested_run_pending || in vmx_check_nested_events()
10099 if (vmx->nested.nested_run_pending) in vmx_check_nested_events()
10111 hrtimer_get_remaining(&to_vmx(vcpu)->nested.preemption_timer); in vmx_get_preemption_timer_value()
10196 hrtimer_cancel(&to_vmx(vcpu)->nested.preemption_timer); in prepare_vmcs12()
10431 WARN_ON_ONCE(vmx->nested.nested_run_pending); in nested_vmx_vmexit()
10464 nested_free_vmcs02(vmx, vmx->nested.current_vmptr); in nested_vmx_vmexit()
10469 vmcs_write64(TSC_OFFSET, vmx->nested.vmcs01_tsc_offset); in nested_vmx_vmexit()
10475 if (vmx->nested.apic_access_page) { in nested_vmx_vmexit()
10476 nested_release_page(vmx->nested.apic_access_page); in nested_vmx_vmexit()
10477 vmx->nested.apic_access_page = NULL; in nested_vmx_vmexit()
10479 if (vmx->nested.virtual_apic_page) { in nested_vmx_vmexit()
10480 nested_release_page(vmx->nested.virtual_apic_page); in nested_vmx_vmexit()
10481 vmx->nested.virtual_apic_page = NULL; in nested_vmx_vmexit()
10483 if (vmx->nested.pi_desc_page) { in nested_vmx_vmexit()
10484 kunmap(vmx->nested.pi_desc_page); in nested_vmx_vmexit()
10485 nested_release_page(vmx->nested.pi_desc_page); in nested_vmx_vmexit()
10486 vmx->nested.pi_desc_page = NULL; in nested_vmx_vmexit()
10487 vmx->nested.pi_desc = NULL; in nested_vmx_vmexit()
10507 vmx->nested.sync_shadow_vmcs = true; in nested_vmx_vmexit()
10539 to_vmx(vcpu)->nested.sync_shadow_vmcs = true; in nested_vmx_entry_failure()