VirtualBox

Ignore:
Timestamp:
Jul 22, 2010 7:40:27 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63943
Message:

VBoxHeadless: Implement missing case to get the machine from the GUID. Should fix tests started with vmCreator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r31019 r31023  
    819819                break;
    820820        }
     821        else
     822        {
     823            /* Use the GUID. */
     824            rc = virtualBox->GetMachine(id, m.asOutParam());
     825            if (FAILED(rc))
     826            {
     827                LogError("Invalid machine uid!\n", rc);
     828                break;
     829            }
     830        }
    821831
    822832        Log(("VBoxHeadless: Opening a session with machine (id={%s})...\n",
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