Changeset 4532 in vbox for trunk/src/VBox/Devices/VMMDev
- Timestamp:
- Sep 5, 2007 1:13:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
r4524 r4532 1201 1201 1202 1202 requestHeader->rc = VINF_SUCCESS; 1203 } 1204 break; 1205 } 1206 1207 case VMMDevReq_ChangeMemBalloon: 1208 { 1209 VMMDevChangeMemBalloon *memBalloonChange = (VMMDevChangeMemBalloon*)requestHeader; 1210 1211 Log(("VMMDevReq_ChangeMemBalloon\n")); 1212 if ( requestHeader->size < sizeof(VMMDevChangeMemBalloon) 1213 || requestHeader->size != RT_OFFSETOF(VMMDevChangeMemBalloon, aPhysPage[memBalloonChange->cPages])) 1214 { 1215 AssertFailed(); 1216 requestHeader->rc = VERR_INVALID_PARAMETER; 1217 } 1218 else 1219 { 1220 requestHeader->rc = pData->pDrv->pfnChangeMemoryBalloon(pData->pDrv, !!memBalloonChange->fInflate, memBalloonChange->cPages, memBalloonChange->aPhysPage); 1203 1221 } 1204 1222 break;
Note:
See TracChangeset
for help on using the changeset viewer.