VirtualBox

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


Ignore:
Timestamp:
Sep 21, 2009 8:59:07 AM (15 years ago)
Author:
vboxsync
Message:

VBoxManage showvminfo --machinereadable: added VMStateFile

File:
1 edited

Legend:

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

    r22866 r23168  
    408408    char pszTime[30] = {0};
    409409    RTTimeSpecToString(&timeSpec, pszTime, sizeof(pszTime));
     410    Bstr stateFile;
     411    machine->COMGETTER(StateFilePath)(stateFile.asOutParam());
    410412    if (details == VMINFO_MACHINEREADABLE)
    411413    {
    412414        RTPrintf("VMState=\"%s\"\n", pszState);
    413415        RTPrintf("VMStateChangeTime=\"%s\"\n", pszTime);
     416        if (!stateFile.isEmpty())
     417            RTPrintf("VMStateFile=\"%lS\"\n", stateFile.raw());
    414418    }
    415419    else
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