VirtualBox

Ignore:
Timestamp:
Aug 22, 2013 2:31:52 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88315
Message:

Main: Made the exclusive HW virtualization use setting global rather than per-VM.

File:
1 edited

Legend:

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

    r47908 r47991  
    824824            CHECK_ERROR(systemProperties, COMSETTER(DefaultMachineFolder)(Bstr(a->argv[1]).raw()));
    825825    }
     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    }
    826838    else if (   !strcmp(a->argv[0], "vrdeauthlibrary")
    827839             || !strcmp(a->argv[0], "vrdpauthlibrary"))
Note: See TracChangeset for help on using the changeset viewer.

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