VirtualBox

Changeset 72712 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 28, 2018 8:47:47 AM (7 years ago)
Author:
vboxsync
Message:

IEM: Fixed regression in IEMExecStringIoRead from r123057 where writes postponed to ring-3 would accidentally be rolled back.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAll.cpp

    r72643 r72712  
    1475314753    }
    1475414754
    14755     if (pVCpu->iem.s.cActiveMappings)
    14756         iemMemRollback(pVCpu);
    14757 
     14755    Assert(pVCpu->iem.s.cActiveMappings == 0 || VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_IEM));
    1475814756    return iemUninitExecAndFiddleStatusAndMaybeReenter(pVCpu, rcStrict);
    1475914757}
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplStrInstr.cpp.h

    r72497 r72712  
    14071407            rcStrict = IOMIOPortRead(pVM, pVCpu, u16Port, &u32Value, OP_SIZE / 8);
    14081408            if (!IOM_SUCCESS(rcStrict))
    1409                 return rcStrict;
     1409            {
     1410                iemMemRollback(pVCpu);
     1411                return rcStrict;
     1412            }
    14101413
    14111414            *puMem = (OP_TYPE)u32Value;
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