VirtualBox

Changeset 65355 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 18, 2017 3:48:43 AM (8 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Save guest rflags before handling any hypercalls.

File:
1 edited

Legend:

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

    r65316 r65355  
    1163711637        /* Aggressive state sync. for now. */
    1163811638        int rc  = hmR0VmxSaveGuestRip(pVCpu, pMixedCtx);
     11639        rc     |= hmR0VmxSaveGuestRflags(pVCpu,pMixedCtx);          /* For CPL checks in gimHvHypercall() & gimKvmHypercall() */
    1163911640        rc     |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);    /* For long-mode checks in gimKvmHypercall(). */
    1164011641        AssertRCReturn(rc, rc);
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