Re: [libvirt] [PATCH] Fix regression from "Avoid polling on FDs with no events"

2009-09-10 Thread Chris Lalancette
Daniel P. Berrange wrote: > On Thu, Sep 10, 2009 at 11:50:36AM +0200, Chris Lalancette wrote: >> After the mentioned patch was applied, I noticed that >> shutting down a kvm guest from inside (i.e. poweroff) caused >> the guest to shutdown, but not removed from the list of >> active guests. DanB p

Re: [libvirt] [PATCH] Fix regression from "Avoid polling on FDs with no events"

2009-09-10 Thread Daniel P. Berrange
On Thu, Sep 10, 2009 at 11:50:36AM +0200, Chris Lalancette wrote: > After the mentioned patch was applied, I noticed that > shutting down a kvm guest from inside (i.e. poweroff) caused > the guest to shutdown, but not removed from the list of > active guests. DanB pointed out that the problem is t

[libvirt] [PATCH] Fix regression from "Avoid polling on FDs with no events"

2009-09-10 Thread Chris Lalancette
After the mentioned patch was applied, I noticed that shutting down a kvm guest from inside (i.e. poweroff) caused the guest to shutdown, but not removed from the list of active guests. DanB pointed out that the problem is that the virEventAddHandle() call in the qemu driver was asking to watch fo