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

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

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.


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.

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