Changeset 24321 in vbox
- Timestamp:
- Nov 4, 2009 12:18:09 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r24307 r24321 136 136 " [--nestedpaging on|off]\n" 137 137 " [--vtxvpid on|off]\n" 138 " [--cpuid <leaf> <eax> <ebx> <ecx> <edx>]\n" 138 " [--cpuidset <leaf> <eax> <ebx> <ecx> <edx>]\n" 139 " [--cpuidremove <leaf>]\n" 140 " [--cpuidremoveall]\n" 139 141 " [--cpus <number>]\n" 140 142 " [--monitorcount <number>]\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r24307 r24321 71 71 MODIFYVM_VTXVPID, 72 72 MODIFYVM_CPUS, 73 MODIFYVM_CPUID, 73 MODIFYVM_SETCPUID, 74 MODIFYVM_DELCPUID, 75 MODIFYVM_DELALLCPUID, 74 76 MODIFYVM_MONITORCOUNT, 75 77 MODIFYVM_ACCELERATE3D, … … 146 148 { "--nestedpaging", MODIFYVM_NESTEDPAGING, RTGETOPT_REQ_BOOL_ONOFF }, 147 149 { "--vtxvpid", MODIFYVM_VTXVPID, RTGETOPT_REQ_BOOL_ONOFF }, 148 { "--cpuid", MODIFYVM_CPUID, RTGETOPT_REQ_UINT32 | RTGETOPT_FLAG_HEX}, 150 { "--cpuidset", MODIFYVM_SETCPUID, RTGETOPT_REQ_UINT32 | RTGETOPT_FLAG_HEX}, 151 { "--cpuidremove", MODIFYVM_DELCPUID, RTGETOPT_REQ_UINT32 | RTGETOPT_FLAG_HEX}, 152 { "--cpuidremoveall", MODIFYVM_DELALLCPUID, RTGETOPT_REQ_NOTHING}, 149 153 { "--cpus", MODIFYVM_CPUS, RTGETOPT_REQ_UINT32 }, 150 154 { "--monitorcount", MODIFYVM_MONITORCOUNT, RTGETOPT_REQ_UINT32 }, … … 350 354 } 351 355 352 case MODIFYVM_ CPUID:356 case MODIFYVM_SETCPUID: 353 357 { 354 358 uint32_t id = ValueUnion.u32; … … 365 369 } 366 370 CHECK_ERROR(machine, SetCpuIdLeaf(id, aValue[0], aValue[1], aValue[2], aValue[3])); 371 break; 372 } 373 374 case MODIFYVM_DELCPUID: 375 { 376 CHECK_ERROR(machine, RemoveCpuIdLeaf(ValueUnion.u32)); 377 break; 378 } 379 380 case MODIFYVM_DELALLCPUID: 381 { 382 CHECK_ERROR(machine, RemoveAllCpuIdLeafs()); 367 383 break; 368 384 }
Note:
See TracChangeset
for help on using the changeset viewer.