Daniel P. Berrange wrote on 11/04/2008 02:56 PM:
> A couple more things I've not fixed but are on the todo list
> 
>  - THe QEMU driver doesn't emit the ADDED or REMOVED events for VMs
>    which virt-manager requires in order to fully avoid polling.

Not to derail this topic from your patch...but this comment somewhat relates to 
the xen driver changes I've been looking at.

Currently, I can detect domains being externally created, and destroyed via a 
xenstore watch.

That said - there is no mechanism like @introduceDomain/@releaseDomain for the 
rest of domain lifecycle events. As far as I can tell, these control events 
such as pause/resume, etc are controlled via the xen control(xc) library. I saw 
nothing in this library, or the xend python code that would indicate that 
anything is written in xenstore.

So - I can look into plumbing up the rest of the events in the driver without 
this. This would mean that it could emit events when issued by libvirt, but 
would only issue STARTED, and STOPPED events from external influences like 'xm'

Thoughts?

Ben

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

Reply via email to