VirtualBox

Changeset 100755 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 31, 2023 2:13:47 PM (18 months ago)
Author:
vboxsync
Message:

VMM/ARM: Some preliminary saved state handling and logging for the vCPU state, bugref:10387 [fixes]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUM-armv8.cpp

    r100727 r100755  
    546546    if (uPass == SSM_PASS_FINAL)
    547547    {
     548        uint32_t cCpus;
     549        int rc = SSMR3GetU32(pSSM, &cCpus); AssertRCReturn(rc, rc);
     550        AssertLogRelMsgReturn(cCpus == pVM->cCpus, ("Mismatching CPU counts: saved: %u; configured: %u \n", cCpus, pVM->cCpus),
     551                              VERR_SSM_UNEXPECTED_DATA);
     552
    548553        /*
    549554         * Do the per-CPU restoring.
     
    555560
    556561            /*
    557              * Start by restoring the CPUMCTX structure and the X86FXSAVE bits of the extended state.
     562             * Restore the CPUMCTX structure.
    558563             */
    559             int rc = SSMR3GetStructEx(pSSM, pGstCtx,                  sizeof(*pGstCtx),                0, g_aCpumCtxFields, NULL);
     564            rc = SSMR3GetStructEx(pSSM, pGstCtx, sizeof(*pGstCtx), 0, g_aCpumCtxFields, NULL);
    560565            AssertRCReturn(rc, rc);
    561566
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