[libvirt-users] How to tell if a hypervisor connection has died?
Guido Winkelmann
guido-libvi at unknownsite.de
Thu Apr 25 17:49:02 UTC 2013
Hi,
What's the best way to tell if a virConnect object is not good to use anymore?
(For example because the libvirtd on the other side crashed/has been stopped
or because of some network failure)
When I try this, the first API call I do on a broken connection yields an
error with error number 38 (VIR_ERR_SYSTEM_ERROR) and all subsequent calls
yield an error number 1 (VIR_ERR_INTERNAL_ERROR). Both of those are really
unhelpful and could mean just about anything...
Guido
More information about the libvirt-users
mailing list