VirtualBox

Ignore:
Timestamp:
Aug 23, 2013 11:56:47 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Fix assertion caused by EMT preemption in HM context.

File:
1 edited

Legend:

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

    r47989 r48019  
    17181718                                      | HM_CHANGED_SVM_RESERVED3);
    17191719
    1720     AssertMsg(!pVCpu->hm.s.fContextUseFlags,
     1720    AssertMsg(!(pVCpu->hm.s.fContextUseFlags & HM_CHANGED_ALL_GUEST),
    17211721             ("Missed updating flags while loading guest state. pVM=%p pVCpu=%p fContextUseFlags=%#RX32\n",
    17221722              pVM, pVCpu, pVCpu->hm.s.fContextUseFlags));
     
    27702770    int rc = hmR0SvmLoadGuestState(pVM, pVCpu, pCtx);
    27712771    AssertRC(rc);
     2772    pVCpu->hm.s.fContextUseFlags &= ~HM_CHANGED_HOST_CONTEXT;       /* Preemption might set this, nothing to do on AMD-V. */
    27722773    AssertMsg(!pVCpu->hm.s.fContextUseFlags, ("fContextUseFlags =%#x\n", pVCpu->hm.s.fContextUseFlags));
    27732774    STAM_COUNTER_INC(&pVCpu->hm.s.StatLoadFull);
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