VirtualBox

Ignore:
Timestamp:
Jan 23, 2018 4:18:22 PM (7 years ago)
Author:
vboxsync
Message:

Main,VBoxManage: Added CPUPropertyType_HWVirt. Translates to --nested-hw-virt in VBoxManage/modifyvm

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r70606 r70712  
    514514                     "                            [--ibpb-on-vm-exit on|off]\n"
    515515                     "                            [--ibpb-on-vm-entry on|off]\n"
     516                     "                            [--nested-hw-virt on|off]\n"
    516517                     "                            [--cpu-profile \"host|Intel 80[86|286|386]\"]\n"
    517518                     "                            [--cpuid-portability-level <0..3>\n"
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r70606 r70712  
    7777    MODIFYVM_IBPB_ON_VM_EXIT,
    7878    MODIFYVM_IBPB_ON_VM_ENTRY,
     79    MODIFYVM_NESTED_HW_VIRT,
    7980    MODIFYVM_CPUS,
    8081    MODIFYVM_CPUHOTPLUG,
     
    259260    { "--ibpb-on-vm-exit",          MODIFYVM_IBPB_ON_VM_EXIT,           RTGETOPT_REQ_BOOL_ONOFF },
    260261    { "--ibpb-on-vm-entry",         MODIFYVM_IBPB_ON_VM_ENTRY,          RTGETOPT_REQ_BOOL_ONOFF },
     262    { "--nested-hw-virt",           MODIFYVM_NESTED_HW_VIRT,             RTGETOPT_REQ_BOOL_ONOFF },
    261263    { "--cpuid-set",                MODIFYVM_SETCPUID,                  RTGETOPT_REQ_UINT32_OPTIONAL_PAIR | RTGETOPT_FLAG_HEX },
    262264    { "--cpuid-remove",             MODIFYVM_DELCPUID,                  RTGETOPT_REQ_UINT32_OPTIONAL_PAIR | RTGETOPT_FLAG_HEX },
     
    806808                break;
    807809
     810            case MODIFYVM_NESTED_HW_VIRT:
     811                CHECK_ERROR(sessionMachine, SetCPUProperty(CPUPropertyType_HWVirt, ValueUnion.f));
     812                break;
     813
    808814            case MODIFYVM_CPUS:
    809815            {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette