Re: Ruby libvirt gem: state reasons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sent from my iPhone

On 2011-11-17, at 5:07 PM, Ken Coar <kcoar@xxxxxxxxxx> 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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux