[libvirt-users] Power on and power off code using LIBVIRT

Daniel P. Berrangé berrange at redhat.com
Mon Dec 10 16:22:59 UTC 2018


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 at 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 :|




More information about the libvirt-users mailing list