VMware {code} Community
jhoagland
Contributor
Contributor

Is there a way to resume a VM from VIX?

Is there a way to resume from a suspended point using VIX Perl? I see commands to revert to a snaphot and to power on a VM, but I want to resume from a paused point.

I know you can do this with vmware-cmd "start", but I'd rather not use that since it sometimes powers up a VM.

This is for VMware Server 1.0.x running on Linux.

Thanks.

0 Kudos
2 Replies
njain
Expert
Expert

Hi,

In order to resume a VM from suspended point, you can use the VMPowerOn() method itself. This method serves following purposes:

1) To start the guest operating system in a virtual machine previously in a powered-off state.

2) To resume the execution of a guestOS in a suspended virtual machine.

For further details on this method, you can also refer to the following link:

Hope the above information is helpful.

Regards,

Neha

jhoagland
Contributor
Contributor

So a VMPowerOn is equivalent to a vmware-cmd "start"? Is that a "soft", "hard", or "trysoft" start?

Thanks.

0 Kudos