Changeset 8313 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Apr 23, 2008 7:13:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
r8312 r8313 2024 2024 { 2025 2025 VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState*); 2026 if (u32Version != VMMDEV_SSM_VERSION) 2026 if ( SSM_VERSION_MAJOR_CHANGED(u32Version, VMMDEV_SSM_VERSION) 2027 || (SSM_VERSION_MINOR(u32Version) < 6)) 2027 2028 return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION; 2028 2029 SSMR3GetU32(pSSMHandle, &pData->hypervisorSize); … … 2045 2046 SSMR3GetU32(pSSMHandle, &pData->guestCaps); 2046 2047 2047 SSMR3GetU32(pSSMHandle, &pData->u32MaxGuestWidth); 2048 SSMR3GetU32(pSSMHandle, &pData->u32MaxGuestHeight); 2048 if ( SSM_VERSION_MAJOR(u32Version) > 0 2049 || SSM_VERSION_MINOR(u32Version) >= 7) 2050 { 2051 SSMR3GetU32(pSSMHandle, &pData->u32MaxGuestWidth); 2052 SSMR3GetU32(pSSMHandle, &pData->u32MaxGuestHeight); 2053 } 2049 2054 2050 2055 #ifdef VBOX_HGCM
Note:
See TracChangeset
for help on using the changeset viewer.