VirtualBox

vbox的更動 8430 路徑 trunk/src/VBox/Devices/VMMDev


忽略:
時間撮記:
2008-4-28 下午04:06:30 (17 年 以前)
作者:
vboxsync
訊息:

Devices/VMMDev: restored compatibility of saved states with r30072

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp

    r8425 r8430  
    19471947
    19481948
    1949 #define VMMDEV_SSM_VERSION  6
     1949#define VMMDEV_SSM_VERSION  8
    19501950
    19511951/**
     
    19961996{
    19971997    VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState*);
    1998     if (u32Version != VMMDEV_SSM_VERSION)
     1998    if (   SSM_VERSION_MAJOR_CHANGED(u32Version, VMMDEV_SSM_VERSION)
     1999        || (SSM_VERSION_MINOR(u32Version) < 6))
    19992000        return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION;
    20002001    SSMR3GetU32(pSSMHandle, &pData->hypervisorSize);
     
    20162017
    20172018    SSMR3GetU32(pSSMHandle, &pData->guestCaps);
     2019
     2020    /* Attributes which were temporarily introduced in r30072 */
     2021    if (   SSM_VERSION_MAJOR(u32Version) ==  0
     2022        && SSM_VERSION_MINOR(u32Version) == 7)
     2023    {
     2024        uint32_t temp;
     2025        SSMR3GetU32(pSSMHandle, &temp);
     2026        SSMR3GetU32(pSSMHandle, &temp);
     2027    }
    20182028
    20192029#ifdef VBOX_HGCM
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette