VirtualBox

Ignore:
Timestamp:
May 9, 2013 7:46:52 PM (12 years ago)
Author:
vboxsync
Message:

Main, VMM: Added an API seting to disable VT-x unrestricted execution.

File:
1 edited

Legend:

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

    r45926 r45971  
    6565    MODIFYVM_LARGEPAGES,
    6666    MODIFYVM_VTXVPID,
     67    MODIFYVM_VTXUX,
    6768    MODIFYVM_CPUS,
    6869    MODIFYVM_CPUHOTPLUG,
     
    222223    { "--largepages",               MODIFYVM_LARGEPAGES,                RTGETOPT_REQ_BOOL_ONOFF },
    223224    { "--vtxvpid",                  MODIFYVM_VTXVPID,                   RTGETOPT_REQ_BOOL_ONOFF },
     225    { "--vtxux",                    MODIFYVM_VTXUX,                     RTGETOPT_REQ_BOOL_ONOFF },
    224226    { "--cpuidset",                 MODIFYVM_SETCPUID,                  RTGETOPT_REQ_UINT32 | RTGETOPT_FLAG_HEX},
    225227    { "--cpuidremove",              MODIFYVM_DELCPUID,                  RTGETOPT_REQ_UINT32 | RTGETOPT_FLAG_HEX},
     
    606608            }
    607609
     610            case MODIFYVM_VTXUX:
     611            {
     612                CHECK_ERROR(machine, SetHWVirtExProperty(HWVirtExPropertyType_UnrestrictedExecution, ValueUnion.f));
     613                break;
     614            }
     615   
    608616            case MODIFYVM_CPUS:
    609617            {
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