WOW!!
 
How did I miss that!
 
Thanks a lot.
 
Just another question.
Is there any method for starting the domain on a different Xen Hypervisor with the same configuration.
For. Eg: If a domain "test_domain" is currently in shut-off state in 1 Hypervisor. And I want to start the domain in a different physical hypervisor machine instead of the original.
 
Thanks and Regards
Sagar Barve
----- Original Message -----
From: Jaromír Červenka
To: IKI-サガル バルウェ
Cc: libvir-list@redhat.com
Sent: Monday, June 07, 2010 3:20 PM
Subject: Re: [libvirt] VM/Domain "Start" method in libvirt API

Hello,

it is called virDomainCreate

http://www.libvirt.org/html/libvirt-libvirt.html#virDomainCreate

Greetings,

Jaromír Červenka
Official openSUSE community member
Web: http://www.cervajz.com/
Jabber: cervajz@cervajz.com
MSN: jara.cervenka@seznam.cz
Tel.: +420 607 592 687
Alt. e-mails:
jaromir.cervenka@opensuse.org,
jaromir.cervenka@speel.cz


2010/6/7 IKI-サガル バルウェ <sagar.barve@ikic.co.jp>
Hi,
 
I was referring to the libvirt API reference from the foll link:
 
There are functions for Suspending, ShuttingDown or Rebooting the VM like virDomainSuspend, virDomainShutdown or virDomainReboot respectively.
 
But I did not find any method for starting a particular domain/VM like virDomainStart.
 
There is a function in virsh for doing the same:
 
virsh start <domain> [--console]
 
Is there any other alternative method for "starting"a given domain??
 
Thanks and Regards
Sagar Barve

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list