VirtualBox

Changeset 78645 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 22, 2019 6:24:59 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HMVMXAll: Nested VMX: bugref:9180 Adjust HM VM-exit notify.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/HMVMXAll.cpp

    r78621 r78645  
    12371237    NOREF(pCtx);
    12381238
     1239    /* There shouldn't be any externally kept state at this point. */
     1240    AssertMsg(!(pVCpu->cpum.GstCtx.fExtrn & CPUMCTX_EXTRN_ALL),
     1241              ("fExtrn=%#RX64 fExtrnMbz=%#RX64\n", pVCpu->cpum.GstCtx.fExtrn, CPUMCTX_EXTRN_ALL));
     1242
    12391243    /*
    1240      * Make sure we need to merge the nested-guest VMCS on next nested-guest
    1241      * VM entry (if we VM-exit in ring-0 and continue in ring-0 till the next
    1242      * nested-guest VM-entry).
     1244     * Make sure we need to merge the guest VMCS controls with the nested-guest
     1245     * VMCS controls on the next nested-guest VM entry.
    12431246     */
    12441247    pVCpu->hm.s.vmx.fMergedNstGstCtls = false;
    1245 
    1246     CPUMImportGuestStateOnDemand(pVCpu, CPUMCTX_EXTRN_ALL);
    1247     AssertMsg(!(pVCpu->cpum.GstCtx.fExtrn & CPUMCTX_EXTRN_ALL),
    1248               ("fExtrn=%#RX64 fExtrnMbz=%#RX64\n", pVCpu->cpum.GstCtx.fExtrn, CPUMCTX_EXTRN_ALL));
    1249     ASMAtomicUoOrU64(&pVCpu->hm.s.fCtxChanged, HM_CHANGED_ALL_GUEST);
    1250 
    1251 
    12521248}
    12531249# endif /* VBOX_WITH_NESTED_HWVIRT_VMX */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette