[vbox-dev] VBoxManage patch

James Lucas jimmy at secsme.org.au
Thu Sep 17 21:19:30 PDT 2009


Hi,

The following patch (against OSE SVN 22982) for VBoxManage will print 
the path to the current VM save state file if such a state file exists 
for the machine readable output of VBoxManage showvminfo.

Licensed under the MIT license (I also have submitted a signed 
contributer form)

Regards,
    James

Output: with saved state

VMState="saved"
VMStateChangeTime="2009-09-18T04:09:27.000000000"
VMStateFile="/vmuser/vmachines/Machines/1149/snapshots/{c52a2e52-a959-455a-9e85-4bfca4428290}.sav"

Output: without saved state

VMState="poweroff"
VMStateChangeTime="2009-09-18T04:10:27.000000000"


--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly, and
with authority, states them to be the views the University of Technology,
Sydney. Before opening any attachments, please check them for viruses and
defects.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: VBoxManage_StateFile.diff.txt
Url: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090918/40af6ac6/attachment-0001.txt 


More information about the vbox-dev mailing list