[vbox-dev] Virtual Box API to shutdown machine / apply snapshot
Klaus Espenlaub
klaus.espenlaub at oracle.com
Fri Apr 20 08:42:18 PDT 2012
Hi Elad,
On 20.04.2012 17:31, Benedict, Elad wrote:
> Hi all,
>
> I'm trying to use the COM API to apply some snapshot.
> Since I don't know (or more accurately, care, about) the initial state
> of the machine I thought I'd:
> 1. Power the machine off
> 2. Apply the snapshot I want
>
> The thing is I can't get the machine to PoweredOff state using the
> PowerDown method since it's not legal when the machine is in certain states.
> Is there some easy way to perform what I want?
> (Either easily apply the snapshot, regardless of the machines current
> state, or get it to powered off state)
Which "certain states" are you talking about? So far we got away with
the API methods...
Klaus
>
>
> Thanks a lot,
> Elad.
More information about the vbox-dev
mailing list