VirtualBox

Changeset 69786 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Nov 21, 2017 6:49:59 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Nested Hw.virt: Fix lazy loading debug registers unintentionally while executing the nested-guest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r69764 r69786  
    41834183    hmR0SvmSaveGuestState(pVCpu, pMixedCtx, pVmcbNstGst);       /* Save the nested-guest state from the VMCB to the
    41844184                                                                   guest-CPU context. */
     4185
     4186    HMSvmNstGstVmExitNotify(pVCpu, pMixedCtx);                  /* Restore modified VMCB fields for now, see @bugref{7243#c52} .*/
    41854187}
    41864188#endif
     
    63756377     * Lazy DR0-3 loading.
    63766378     */
    6377     if (!pSvmTransient->fWasHyperDebugStateActive)
     6379    if (   !pSvmTransient->fWasHyperDebugStateActive
     6380#ifdef VBOX_WITH_NESTED_HWVIRT
     6381           && !CPUMIsGuestInSvmNestedHwVirtMode(pCtx)) /** @todo implement single-stepping when executing a nested-guest. */
     6382#endif
    63786383    {
    63796384        Assert(!DBGFIsStepping(pVCpu)); Assert(!pVCpu->hm.s.fSingleInstruction);
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