Hi:

I am trying to handle snapshots for a virtual machine using the java API and I 
found that it creates them properly but when I try to delete them virtualbox 
ends up ignoring the command without even throwing an exception. I am doing 
this with the webserver interface for 64 bits virtualbox. I tried with both the 
VM turned on and off. Turned on can't create snapshots. Turned off does crate 
new ones but doesn't deletes them.

This is the code snippet I am using:

IProgress p;
ISnapshot snap = m.findSnapshot("update snapshot");
p = console.deleteSnapshot(snap.getId());
p.waitForCompletion(-1);
p.releaseRemote();
snap.releaseRemote();

Any help or guide will be appreciated.

Regards
Waldo

_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to