VirtualBox

Changeset 105068 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 27, 2024 7:59:48 PM (7 months ago)
Author:
vboxsync
Message:

VMM/PDM: Quick fix for loading existing saved states after r163661 which unconditionally adds the TPM PPI device to guests, bugref:10701

File:
1 edited

Legend:

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

    r104840 r105068  
    12791279        {
    12801280            LogRel(("Device '%s'/%d not found in the saved state\n", pDevIns->pReg->szName, pDevIns->iInstance));
    1281             if (SSMR3HandleGetAfter(pSSM) != SSMAFTER_DEBUG_IT)
     1281            /** @todo The TPM PPI device was added due to @bugref{10701} and it is not an issue if it isn't there
     1282             *        in the saved state because there is nothing to load. It might make sense to add a new
     1283             *        flag to PDMDEVREG::fFlags to indicate that having a new device added for a saved state is okay.
     1284             *        (For now I just want to get saved states unwedged).
     1285             */
     1286            if (   SSMR3HandleGetAfter(pSSM) != SSMAFTER_DEBUG_IT
     1287                && RTStrCmp(pDevIns->pReg->szName, "tpm-ppi"))
    12821288                return SSMR3SetCfgError(pSSM, RT_SRC_POS, N_("Device '%s'/%d not found in the saved state"),
    12831289                                        pDevIns->pReg->szName, pDevIns->iInstance);
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