[libvirt] virt-top version bump in EPEL5

Wolfram Schlich wolfram at schlich.org
Mon Sep 6 19:10:25 UTC 2010


* Richard W.M. Jones <rjones at redhat.com> [2010-09-06 21:00]:
> On Mon, Sep 06, 2010 at 07:31:55PM +0100, Daniel P. Berrange wrote:
> > On Mon, Sep 06, 2010 at 07:14:47PM +0100, Richard W.M. Jones wrote:
> > > On Mon, Sep 06, 2010 at 06:06:08PM +0100, Daniel P. Berrange wrote:
> > > > In a perfect world you'd also want to use the lifecycle events, so you
> > > > only need call ListDomains/ListDefinedDomains once, and then get explicit
> > > > notifications of new virDomainPtr instances without any need todo a lookup.
> > > 
> > > OK, we might need to move to this model.  Is it workable now?  In RHEL 5?
> > 
> > Yes but the caveat is that not all libvirt drivers support events,
> > so you need to keep the polling code too, and detect whether the
> > driver raises a VIR_ERR_NO_SUPPORT error when registering for the
> > lifecycle events.
> 
> Thanks Dan.
> 
> Wolfram, guess you should open a request for this feature at
> http://bugzilla.redhat.com/ if you want to see this.

Thanks, I will probably push it to our TAM :)

Cheers,
Wolfram




More information about the libvir-list mailing list