2014년 2월 11일 오후 10:00에 Eric Blake <eblake@redhat.com> 작성:

On 02/11/2014 12:20 AM, Kim Larry wrote:

libvirtd version is 1.1.4 and using Xen for hypervisor.
I'm not as familiar with the xen hypervisor as with qemu; it may just be
the case that no one has coded the xen driver to send a shutdown event.
At any rate, I can confirm that with the qemu driver, shutdown events
are delivered.

It is a bit weird that all except shutdown event are coded...
If it is true, do I have to just wait?

https://rwmj.wordpress.com/2010/11/08/want-help-dont-email-me-directly/

Or you could look into the source code and provide a patch; but
discussing this on the list is a better way to get a reaction from
someone familiar with the xen code.

--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
 

Ah, I forgot to add libvirt-users in Cc... sorry. 

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.