VirtualBox

Changeset 72461 in vbox


Ignore:
Timestamp:
Jun 6, 2018 11:33:58 AM (6 years ago)
Author:
vboxsync
Message:

emR3Load: Status checking cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r72449 r72461  
    547547        PVMCPU pVCpu = &pVM->aCpus[i];
    548548
    549         int rc = SSMR3PutBool(pSSM, pVCpu->em.s.fForceRAW);
    550         AssertRCReturn(rc, rc);
     549        SSMR3PutBool(pSSM, pVCpu->em.s.fForceRAW);
    551550
    552551        Assert(pVCpu->em.s.enmState     == EMSTATE_SUSPENDED);
    553552        Assert(pVCpu->em.s.enmPrevState != EMSTATE_SUSPENDED);
    554         rc = SSMR3PutU32(pSSM, pVCpu->em.s.enmPrevState);
    555         AssertRCReturn(rc, rc);
     553        SSMR3PutU32(pSSM, pVCpu->em.s.enmPrevState);
    556554
    557555        /* Save mwait state. */
    558         rc = SSMR3PutU32(pSSM, pVCpu->em.s.MWait.fWait);
    559         AssertRCReturn(rc, rc);
    560         rc = SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMWaitRAX);
    561         AssertRCReturn(rc, rc);
    562         rc = SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMWaitRCX);
    563         AssertRCReturn(rc, rc);
    564         rc = SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMonitorRAX);
    565         AssertRCReturn(rc, rc);
    566         rc = SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMonitorRCX);
    567         AssertRCReturn(rc, rc);
    568         rc = SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMonitorRDX);
     556        SSMR3PutU32(pSSM, pVCpu->em.s.MWait.fWait);
     557        SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMWaitRAX);
     558        SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMWaitRCX);
     559        SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMonitorRAX);
     560        SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMonitorRCX);
     561        int rc = SSMR3PutGCPtr(pSSM, pVCpu->em.s.MWait.uMonitorRDX);
    569562        AssertRCReturn(rc, rc);
    570563    }
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