[libvirt] [libvirt-users] event-test.py cannot detects domain shutdown

Jim Fehlig jfehlig at suse.com
Wed Feb 19 03:45:35 UTC 2014


Cole Robinson wrote:
> On 02/18/2014 05:12 AM, Kim Larry wrote:
>   
>> The thing I found today is that if libvirt uses xend driver, shutdown events
>> are delivered, but if libvirt uses libxl drvier, doesn't show up anything. It
>> seems there are bugs on shutdown event, so I did dig into the libvirt source
>> briefly, but I couldn't find where libxl driver calls event callback.
>>
>> Any help will be greatly appreciated. Especially someone who is familiar with
>> xen code.
>>
>>     
>
> Jim, does this sound familiar?
>   

Looks like the event handler only queues a crashed event when receiving
the shutdown event from libxl.  The attached patch should fix it, but I
think the logic could be further improved.  I'll look at doing that
tomorrow.

Regards,
Jim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxl-dom-shutdown-event.patch
Type: text/x-patch
Size: 1140 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140218/f119e761/attachment-0001.bin>


More information about the libvir-list mailing list