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

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

 



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.

Rich.

-- 
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.
http://et.redhat.com/~rjones/virt-top

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]