Changeset 47991 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 22, 2013 2:31:52 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r47918 r47991 179 179 " [--hpet on|off]\n" 180 180 " [--hwvirtex on|off]\n" 181 " [--hwvirtexexcl on|off]\n"182 181 " [--nestedpaging on|off]\n" 183 182 " [--largepages on|off]\n" … … 635 634 RTStrmPrintf(pStrm, 636 635 "%s setproperty %s machinefolder default|<folder> |\n" 636 " hwvirtexclusive on|off |\n" 637 637 " vrdeauthlibrary default|<library> |\n" 638 638 " websrvauthlibrary default|null|<library> |\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r47908 r47991 672 672 SHOW_BOOLEAN_PROP_EX(machine, RTCUseUTC, "rtcuseutc", "RTC", "UTC", "local time"); 673 673 SHOW_BOOLEAN_METHOD(machine, GetHWVirtExProperty(HWVirtExPropertyType_Enabled, &f), "hwvirtex", "Hardw. virt.ext"); 674 SHOW_BOOLEAN_METHOD(machine, GetHWVirtExProperty(HWVirtExPropertyType_Exclusive, &f), "hwvirtexexcl", "Hardw. virt.ext exclusive");675 674 SHOW_BOOLEAN_METHOD(machine, GetHWVirtExProperty(HWVirtExPropertyType_NestedPaging, &f),"nestedpaging", "Nested Paging"); 676 675 SHOW_BOOLEAN_METHOD(machine, GetHWVirtExProperty(HWVirtExPropertyType_LargePages, &f), "largepages", "Large Pages"); -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
r47908 r47991 525 525 ULONG ulValue; 526 526 LONG64 i64Value; 527 BOOL fValue; 527 528 528 529 pVirtualBox->COMGETTER(APIVersion)(str.asOutParam()); … … 607 608 systemProperties->COMGETTER(DefaultMachineFolder)(str.asOutParam()); 608 609 RTPrintf("Default machine folder: %ls\n", str.raw()); 610 systemProperties->COMGETTER(ExclusiveHwVirt)(&fValue); 611 RTPrintf("Exclusive HW virtualization use: %ls\n", fValue ? L"on" : L"off"); 609 612 systemProperties->COMGETTER(DefaultHardDiskFormat)(str.asOutParam()); 610 613 RTPrintf("Default hard disk format: %ls\n", str.raw()); -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r47908 r47991 824 824 CHECK_ERROR(systemProperties, COMSETTER(DefaultMachineFolder)(Bstr(a->argv[1]).raw())); 825 825 } 826 else if (!strcmp(a->argv[0], "hwvirtexclusive")) 827 { 828 bool fHwVirtExclusive; 829 830 if (!strcmp(a->argv[1], "on")) 831 fHwVirtExclusive = true; 832 else if (!strcmp(a->argv[1], "off")) 833 fHwVirtExclusive = false; 834 else 835 return errorArgument("Invalid hwvirtexclusive argument '%s'", a->argv[1]); 836 CHECK_ERROR(systemProperties, COMSETTER(ExclusiveHwVirt)(fHwVirtExclusive)); 837 } 826 838 else if ( !strcmp(a->argv[0], "vrdeauthlibrary") 827 839 || !strcmp(a->argv[0], "vrdpauthlibrary")) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r47934 r47991 62 62 MODIFYVM_SYNTHCPU, 63 63 MODIFYVM_HWVIRTEX, 64 MODIFYVM_HWVIRTEXEXCLUSIVE,65 64 MODIFYVM_NESTEDPAGING, 66 65 MODIFYVM_LARGEPAGES, … … 224 223 { "--synthcpu", MODIFYVM_SYNTHCPU, RTGETOPT_REQ_BOOL_ONOFF }, 225 224 { "--hwvirtex", MODIFYVM_HWVIRTEX, RTGETOPT_REQ_BOOL_ONOFF }, 226 { "--hwvirtexexcl", MODIFYVM_HWVIRTEXEXCLUSIVE, RTGETOPT_REQ_BOOL_ONOFF },227 225 { "--nestedpaging", MODIFYVM_NESTEDPAGING, RTGETOPT_REQ_BOOL_ONOFF }, 228 226 { "--largepages", MODIFYVM_LARGEPAGES, RTGETOPT_REQ_BOOL_ONOFF }, … … 632 630 } 633 631 634 case MODIFYVM_HWVIRTEXEXCLUSIVE:635 {636 CHECK_ERROR(machine, SetHWVirtExProperty(HWVirtExPropertyType_Exclusive, ValueUnion.f));637 break;638 }639 640 632 case MODIFYVM_SETCPUID: 641 633 {
Note:
See TracChangeset
for help on using the changeset viewer.