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

Chris Lalancette clalance at redhat.com
Thu Sep 10 11:15:52 UTC 2009


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 pointed out that the problem is that
>> the virEventAddHandle() call in the qemu driver was asking
>> to watch for 0 events, not HANGUP | ERROR as it should.  Add
>> these events so that shutdown works again.

Thanks, pushed.

-- 
Chris Lalancette




More information about the libvir-list mailing list