Changeset 26284 in vbox
- Timestamp:
- Feb 5, 2010 12:31:01 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r25901 r26284 766 766 } 767 767 #endif /* obsolete dvdattach/floppyattach */ 768 #ifdef VBOX_WITH_MEM_BALLOONING769 768 else if ( !strcmp(a->argv[1], "--guestmemoryballoon") 770 769 || !strcmp(a->argv[1], "-guestmemoryballoon")) … … 793 792 CHECK_ERROR(guest, COMSETTER(MemoryBalloonSize)(uVal)); 794 793 } 795 #endif796 794 else if ( !strcmp(a->argv[1], "--gueststatisticsinterval") 797 795 || !strcmp(a->argv[1], "-gueststatisticsinterval")) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r26089 r26284 214 214 " file <file>|\n" 215 215 " <devicename>]\n" 216 #ifdef VBOX_WITH_MEM_BALLOONING217 216 " [--guestmemoryballoon <balloonsize in MB>]\n" 218 #endif219 217 " [--gueststatisticsinterval <seconds>]\n" 220 218 ); -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r25672 r26284 1716 1716 RTPrintf("Guest:\n\n"); 1717 1717 1718 #ifdef VBOX_WITH_MEM_BALLOONING1719 1718 rc = machine->COMGETTER(MemoryBalloonSize)(&guestVal); 1720 1719 if (SUCCEEDED(rc)) … … 1725 1724 RTPrintf("Configured memory balloon size: %d MB\n", guestVal); 1726 1725 } 1727 #endif1728 1726 rc = machine->COMGETTER(StatisticsUpdateInterval)(&guestVal); 1729 1727 if (SUCCEEDED(rc)) … … 1844 1842 } 1845 1843 1846 #ifdef VBOX_WITH_MEM_BALLOONING1847 1844 rc = guest->GetStatistic(0, GuestStatisticType_PhysMemBalloon, &statVal); 1848 1845 if (SUCCEEDED(rc)) … … 1853 1850 RTPrintf("CPU%d: Memory balloon size %-4d MB\n", 0, statVal); 1854 1851 } 1855 #endif 1852 1856 1853 rc = guest->GetStatistic(0, GuestStatisticType_MemCommitTotal, &statVal); 1857 1854 if (SUCCEEDED(rc)) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r25901 r26284 1291 1291 } 1292 1292 1293 #ifdef VBOX_WITH_MEM_BALLOONING1294 1293 case MODIFYVM_GUESTMEMORYBALLOON: 1295 1294 { … … 1297 1296 break; 1298 1297 } 1299 #endif1300 1298 1301 1299 case MODIFYVM_AUDIOCONTROLLER:
Note:
See TracChangeset
for help on using the changeset viewer.