VirtualBox

Changeset 65697 in vbox


Ignore:
Timestamp:
Feb 9, 2017 12:24:35 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113405
Message:

VMM/HMVMXR0: Set HM_CHANGED_ALL_GUEST after saving the guest state to avoid assertions that verify the guest-CPU state
isn't overwritten with stale info. from the VMCS.

File:
1 edited

Legend:

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

    r65656 r65697  
    68766876    if (pVCpu->CTX_SUFF(pVM)->hm.s.vmx.fSupported)
    68776877    {
    6878         /* For now, imply that the caller might change everything too. */
     6878        int rc = hmR0VmxSaveGuestState(pVCpu, pMixedCtx);
     6879        /*
     6880         * For now, imply that the caller might change everything too. Do this after
     6881         * saving the guest state so as to not trigger assertions.
     6882         */
    68796883        HMCPU_CF_SET(pVCpu, HM_CHANGED_ALL_GUEST);
    6880         return hmR0VmxSaveGuestState(pVCpu, pMixedCtx);
     6884        return rc;
    68816885    }
    68826886    return VINF_SUCCESS;
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