[libvirt-users] Status of Host machine.
Michal Privoznik
mprivozn at redhat.com
Fri Jun 13 08:17:25 UTC 2014
On 11.06.2014 14:30, Sijo Jose wrote:
>
> Hi,
> Using libvirt how can we check the status of a remote/local host machine..
> isAlive() method is giving true even if the internet connection is broken OR
> libvirt demon in the remote machine is being stopped.
>
> so isAlive() does not seems to be handy,
>
> Is there some other way to get the status of remote host..?
Isn't virConnectOpen*() enough? If it returns NULL then you can tell by
error message what went wrong.
Michal
More information about the libvirt-users
mailing list