Re: [libvirt] [RFC] Events API

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

 



On Fri, Sep 19, 2008 at 11:22:24AM +0100, Daniel P. Berrange wrote:
> Making a client poll for events is evil because it prevents the CPU
> going into low power mode when nothing is happening.

Didn't mean literally poll of course :-)

> Exposing a FD severely limits your flexibility, because libvirt then
> has no control over when the FD is being monitored - you may well
> not want it being select'd on all the time - and/or want to change
> the events being monitored for at various times.

Yup, didn't get down to the bottom of your other email.  Exposing an
FD is also tricky on Windows too (where you have the joys of
"WSAWaitForMultipleEvents"), so best to avoid it if possible.  If
someone (dbus? glib?) has solved this in a platform-independent way
already then so much the better.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/

--
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]