Chaithra Sn
2018-Dec-10 09:25 UTC
[libvirt-users] Power on and power off code using LIBVIRT
Dear Team, Please provide the code for power on and power off the VM using Libvirt. Last week also I sent some query, but I dint get any response. Please help me in finding the same. Thanks & regards, Chaithra
Daniel P. Berrangé
2018-Dec-10 13:39 UTC
Re: [libvirt-users] Power on and power off code using LIBVIRT
On Mon, Dec 10, 2018 at 02:55:12PM +0530, Chaithra Sn wrote:> Dear Team, > > Please provide the code for power on and power off the VM using Libvirt.Thre's many ways to access / interact with libvirt, so you'll need to specify what language or tool you're trying to use libvirt with. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Daniel P. Berrangé
2018-Dec-10 16:22 UTC
Re: [libvirt-users] Power on and power off code using LIBVIRT
Re-adding libvirt-users - please don't remove mailing list addresses when replying. On Mon, Dec 10, 2018 at 09:42:29PM +0530, Chaithra Sn wrote:> Thanks Daniel for the reply. > > I want code in python langange.The 'create' method on the Domain object will start an existing defined guest. The 'destroy' method will stop a running guest.> On Mon, 10 Dec 2018 at 7:10 PM, Daniel P. Berrangé <berrange@redhat.com> > wrote: > > > On Mon, Dec 10, 2018 at 02:55:12PM +0530, Chaithra Sn wrote: > > > Dear Team, > > > > > > Please provide the code for power on and power off the VM using Libvirt. > > > > Thre's many ways to access / interact with libvirt, so you'll need to > > specify what language or tool you're trying to use libvirt with. > > > > Regards, > > Daniel > > -- > > |: https://berrange.com -o- > > https://www.flickr.com/photos/dberrange :| > > |: https://libvirt.org -o- > > https://fstop138.berrange.com :| > > |: https://entangle-photo.org -o- > > https://www.instagram.com/dberrange :| > >Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Chaithra Sn
2018-Dec-11 09:46 UTC
Re: [libvirt-users] Power on and power off code using LIBVIRT
Thanks for the information Thanks and regards, Chaithra On Mon, 10 Dec 2018 at 9:53 PM, Daniel P. Berrangé <berrange@redhat.com> wrote:> Re-adding libvirt-users - please don't remove mailing list addresses > when replying. > > On Mon, Dec 10, 2018 at 09:42:29PM +0530, Chaithra Sn wrote: > > Thanks Daniel for the reply. > > > > I want code in python langange. > > The 'create' method on the Domain object will start an existing > defined guest. The 'destroy' method will stop a running guest. > > > On Mon, 10 Dec 2018 at 7:10 PM, Daniel P. Berrangé <berrange@redhat.com> > > wrote: > > > > > On Mon, Dec 10, 2018 at 02:55:12PM +0530, Chaithra Sn wrote: > > > > Dear Team, > > > > > > > > Please provide the code for power on and power off the VM using > Libvirt. > > > > > > Thre's many ways to access / interact with libvirt, so you'll need to > > > specify what language or tool you're trying to use libvirt with. > > > > > > Regards, > > > Daniel > > > -- > > > |: https://berrange.com -o- > > > https://www.flickr.com/photos/dberrange :| > > > |: https://libvirt.org -o- > > > https://fstop138.berrange.com :| > > > |: https://entangle-photo.org -o- > > > https://www.instagram.com/dberrange :| > > > > > Regards, > Daniel > -- > |: https://berrange.com -o- > https://www.flickr.com/photos/dberrange :| > |: https://libvirt.org -o- > https://fstop138.berrange.com :| > |: https://entangle-photo.org -o- > https://www.instagram.com/dberrange :| >