VirtualBox

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


Ignore:
Timestamp:
Mar 29, 2010 1:08:44 PM (15 years ago)
Author:
vboxsync
Message:

Main/VirtualBox: new parameter for overriding VM file existence check on creation (2nd try)

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

Legend:

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

    r27730 r27792  
    247247        if (settingsFile.isEmpty())
    248248            CHECK_ERROR_BREAK(a->virtualBox,
    249                 CreateMachine(name, osTypeId, baseFolder, Guid(id).toUtf16(), machine.asOutParam()));
     249                CreateMachine(name, osTypeId, baseFolder, Guid(id).toUtf16(), FALSE, machine.asOutParam()));
    250250        else
    251251            CHECK_ERROR_BREAK(a->virtualBox,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp

    r27730 r27792  
    636636    if (m_Machine.isNull())
    637637    {
    638         m_Machine = vbox.CreateMachine(field("name").toString(), typeId, QString::null, QString::null);
     638        m_Machine = vbox.CreateMachine(field("name").toString(), typeId, QString::null, QString::null, false);
    639639        if (!vbox.isOk())
    640640        {
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