VirtualBox

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


Ignore:
Timestamp:
Nov 16, 2017 5:09:34 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Nested hw.virt: Fixed re-loading of guest state after emulating vmload instruction in ring-0.

File:
1 edited

Legend:

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

    r69537 r69707  
    73347334    uint8_t const cbInstr = hmR0SvmGetInstrLengthHwAssist(pVCpu, pCtx, 3);
    73357335    VBOXSTRICTRC rcStrict = IEMExecDecodedVmload(pVCpu, cbInstr);
     7336    if (rcStrict == VINF_SUCCESS)
     7337    {
     7338        /* We skip flagging changes made to LSTAR, STAR, SFMASK and other MSRs as they are always re-loaded. */
     7339        HMCPU_CF_SET(pVCpu,   HM_CHANGED_GUEST_SEGMENT_REGS
     7340                            | HM_CHANGED_GUEST_TR
     7341                            | HM_CHANGED_GUEST_LDTR);
     7342    }
    73367343    return VBOXSTRICTRC_VAL(rcStrict);
    73377344}
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