[libvirt-users] start and stop a VMware VM using libvirt API

Ali Nikzad nikzad.a at gmail.com
Tue Oct 23 02:40:34 UTC 2012


Thank you Abbas,
I already tried it but I got a message saying it found version 5.0 instead
of 4.x. It seems that libvirt does not support ESXi 5.0.
I used the command in libvirt-0.8.8 the windows version.

Ali


On Mon, Oct 22, 2012 at 10:05 PM, Abbas <akhan at phi9.com> wrote:

>  You could write a bash or batch script to do that.
> Normal connect format is "virsh -c esx://yournode"
>
> "virsh start [domain]" is what starts a VM. Refer to the man pages for
> virsh command set.
>
>
> /Abbas
>
>
>
> On 10/23/2012 02:47 AM, Ali Nikzad wrote:
>
> Hi,
>
> I am a new libvirt user and I wonder if I can use this library to start or
> stop a VM in ESXi 5.0.
> For example to write an application using libvirt in windows or linux that
> connects to an ESXi 5.0 server and get the list of VMs and start one of
> them.
>
> If so, is there any sample about it?
>
> Thank you,
> Ali
>
>
>
>
> _______________________________________________
> libvirt-users mailing listlibvirt-users at redhat.comhttps://www.redhat.com/mailman/listinfo/libvirt-users
>
>
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121022/a51a18b6/attachment.htm>


More information about the libvirt-users mailing list