[libvirt] virDomainGetInfo() returns 0 although the domain is not running anymore
Richard W.M. Jones
rjones at redhat.com
Fri Sep 12 09:18:47 UTC 2008
On Wed, Sep 10, 2008 at 02:12:29AM +0200, Johannes Formann wrote:
> If I destroy a domain (xm destroy) I'll get this Message with each call
> of virDomainGetInfo():
> "libvir: Xen Daemon error : GET operation failed:"
> But virDomainGetInfo() still returns zero, a bug, or did I
> missunderstood the API?
No, that's a bug in the xend driver. I don't have a Xen machine to
test against, but looking at the code I don't understand why the error
message is printed but the code doesn't return -1 -- it seems like it
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
More information about the libvir-list