[libvirt] virDomainGetInfo() returns 0 although the domain is not running anymore

Johannes Formann johannes at formann.de
Fri Sep 12 14:33:36 UTC 2008


Richard W.M. Jones <rjones at redhat.com> wrote:
> 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
> should do.

If I could help with some Information to debug the problem, just tell me
how, and I'll try co collect the information.

regards

Johannes




More information about the libvir-list mailing list