Sent from my iPhone

On 2011-11-17, at 5:07 PM, Ken Coar <kc...@redhat.com> wrote:

> Does anyone know of a way to use the Ruby bindings to find out
> the 'reason' value for the state of the VM?  Such as obtaining
> VIR_DOMAIN_RUNNING_BOOTED for a running domain?

Don't have the API on hand but you can compare them by referencing the constants

Libvirt::Domain::RUNNING or so

> --
> #ken    B-)}
>
> Ken Coar, Sanagendamgagwedweinini
> IT Engineering Tower, Red Hat/RDU
>
> "Millennium hand and shrimp!"
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to