Changeset 4611 in vbox for trunk/src/VBox
- Timestamp:
- Sep 7, 2007 1:53:04 PM (17 years ago)
- Location:
- trunk/src/VBox/Devices/VMMDev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
r4607 r4611 1212 1212 Log(("VMMDev: returning memory balloon size =%d\n", pData->u32MemoryBalloonSize)); 1213 1213 memBalloonChangeRequest->u32BalloonSize = pData->u32MemoryBalloonSize; 1214 memBalloonChangeRequest->u32PhysMemSize = (pData->u64GuestRAMSize / (uint64_t)_1M); 1214 1215 1215 1216 if (memBalloonChangeRequest->eventAck == VMMDEV_EVENT_BALLOON_CHANGE_REQUEST) … … 2224 2225 pData->pVMMDevRAMHC->u32Version = VMMDEV_MEMORY_VERSION; 2225 2226 2227 PVM pVM = PDMDevHlpGetVM(pDevIns); 2228 pData->u64GuestRAMSize = MMR3PhysGetRamSize(pVM); 2226 2229 return rc; 2227 2230 } -
trunk/src/VBox/Devices/VMMDev/VMMDevState.h
r4540 r4611 135 135 uint32_t u32MemoryBalloonSize, u32LastMemoryBalloonSize; 136 136 137 /* guest ram size */ 138 uint64_t u64GuestRAMSize; 139 137 140 /* statistics interval change request */ 138 141 uint32_t u32StatIntervalSize, u32LastStatIntervalSize;
Note:
See TracChangeset
for help on using the changeset viewer.