Changeset 29218 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- May 7, 2010 2:52:27 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r29117 r29218 303 303 " [--teleporterpassword <password>]\n" 304 304 #if 0 305 " [--iomgr simple|async]\n"306 " [--iobackend buffered|unbuffered]\n"307 305 " [--iocache on|off]\n" 308 306 " [--iocachesize <I/O cache size in MB>]\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r29117 r29218 154 154 MODIFYVM_HARDWARE_UUID, 155 155 MODIFYVM_HPET, 156 MODIFYVM_IOMGR,157 MODIFYVM_IOBACKEND,158 156 MODIFYVM_IOCACHE, 159 157 MODIFYVM_IOCACHESIZE, … … 265 263 { "--hardwareuuid", MODIFYVM_HARDWARE_UUID, RTGETOPT_REQ_STRING }, 266 264 { "--hpet", MODIFYVM_HPET, RTGETOPT_REQ_BOOL_ONOFF }, 267 { "--iomgr", MODIFYVM_IOMGR, RTGETOPT_REQ_STRING },268 { "--iobackend", MODIFYVM_IOBACKEND, RTGETOPT_REQ_STRING },269 265 { "--iocache", MODIFYVM_IOCACHE, RTGETOPT_REQ_BOOL_ONOFF }, 270 266 { "--iocachesize", MODIFYVM_IOCACHESIZE, RTGETOPT_REQ_UINT32 }, … … 2010 2006 } 2011 2007 2012 case MODIFYVM_IOMGR:2013 {2014 if (!strcmp(ValueUnion.psz, "simple"))2015 CHECK_ERROR(machine, COMSETTER(IoMgr)(IoMgrType_Simple));2016 else if (!strcmp(ValueUnion.psz, "async"))2017 CHECK_ERROR(machine, COMSETTER(IoMgr)(IoMgrType_Async));2018 else2019 {2020 errorArgument("Invalid --iomgr argument '%s'", ValueUnion.psz);2021 rc = E_FAIL;2022 }2023 break;2024 }2025 2026 case MODIFYVM_IOBACKEND:2027 {2028 if (!strcmp(ValueUnion.psz, "buffered"))2029 CHECK_ERROR(machine, COMSETTER(IoBackend)(IoBackendType_Buffered));2030 else if (!strcmp(ValueUnion.psz, "unbuffered"))2031 CHECK_ERROR(machine, COMSETTER(IoBackend)(IoBackendType_Unbuffered));2032 else2033 {2034 errorArgument("Invalid --iobackend argument '%s'", ValueUnion.psz);2035 rc = E_FAIL;2036 }2037 break;2038 }2039 2040 2008 case MODIFYVM_IOCACHE: 2041 2009 {
Note:
See TracChangeset
for help on using the changeset viewer.