VirtualBox

Changeset 49069 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 12, 2013 1:26:22 PM (11 years ago)
Author:
vboxsync
Message:

API: Control and propagate triple fault reset/guru setting.

File:
1 edited

Legend:

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

    r48538 r49069  
    6161    MODIFYVM_LONGMODE,
    6262    MODIFYVM_SYNTHCPU,
     63    MODIFYVM_TFRESET,
    6364    MODIFYVM_HWVIRTEX,
    6465    MODIFYVM_NESTEDPAGING,
     
    220221    { "--longmode",                 MODIFYVM_LONGMODE,                  RTGETOPT_REQ_BOOL_ONOFF },
    221222    { "--synthcpu",                 MODIFYVM_SYNTHCPU,                  RTGETOPT_REQ_BOOL_ONOFF },
     223    { "--triplefaultreset",         MODIFYVM_TFRESET,                  RTGETOPT_REQ_BOOL_ONOFF },
    222224    { "--hwvirtex",                 MODIFYVM_HWVIRTEX,                  RTGETOPT_REQ_BOOL_ONOFF },
    223225    { "--nestedpaging",             MODIFYVM_NESTEDPAGING,              RTGETOPT_REQ_BOOL_ONOFF },
     
    621623            }
    622624
     625            case MODIFYVM_TFRESET:
     626            {
     627                CHECK_ERROR(machine, SetCPUProperty(CPUPropertyType_TripleFaultReset, ValueUnion.f));
     628                break;
     629            }
     630
    623631            case MODIFYVM_HWVIRTEX:
    624632            {
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