<html><body><div>2014년 2월 11일 오후 10:00에 Eric Blake <eblake@redhat.com> 작성:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">On 02/11/2014 12:20 AM, Kim Larry wrote:<br> <br><blockquote class="quoted-plain-text" type="cite"><blockquote class="quoted-plain-text" type="cite"><blockquote class="quoted-plain-text" type="cite">libvirtd version is 1.1.4 and using Xen for hypervisor.</blockquote></blockquote></blockquote><blockquote class="quoted-plain-text" type="cite"><blockquote class="quoted-plain-text" type="cite"></blockquote></blockquote><blockquote class="quoted-plain-text" type="cite"><blockquote class="quoted-plain-text" type="cite">I'm not as familiar with the xen hypervisor as with qemu; it may just be</blockquote></blockquote><blockquote class="quoted-plain-text" type="cite"><blockquote class="quoted-plain-text" type="cite">the case that no one has coded the xen driver to send a shutdown event.</blockquote></blockquote><blockquote class="quoted-plain-text" type="cite"><blockquote class="quoted-plain-text" type="cite">At any rate, I can confirm that with the qemu driver, shutdown events</blockquote></blockquote><blockquote class="quoted-plain-text" type="cite"><blockquote class="quoted-plain-text" type="cite">are delivered.</blockquote></blockquote><blockquote class="quoted-plain-text" type="cite"><blockquote class="quoted-plain-text" type="cite"></blockquote></blockquote><br><blockquote class="quoted-plain-text" type="cite"></blockquote><blockquote class="quoted-plain-text" type="cite">It is a bit weird that all except shutdown event are coded...</blockquote><blockquote class="quoted-plain-text" type="cite"></blockquote><blockquote class="quoted-plain-text" type="cite">If it is true, do I have to just wait?</blockquote><br> <a href="https://rwmj.wordpress.com/2010/11/08/want-help-dont-email-me-directly/" data-mce-href="https://rwmj.wordpress.com/2010/11/08/want-help-dont-email-me-directly/">https://rwmj.wordpress.com/2010/11/08/want-help-dont-email-me-directly/</a><br> <br> Or you could look into the source code and provide a patch; but<br> discussing this on the list is a better way to get a reaction from<br> someone familiar with the xen code.<br> <br> -- <br> Eric Blake eblake redhat com +1-919-301-3266<br> Libvirt virtualization library <a href="http://libvirt.org" data-mce-href="http://libvirt.org">http://libvirt.org</a><br> </div></div></blockquote><span> </span></div><div><span><br></span></div><div>Ah, I forgot to add libvirt-users in Cc... sorry. </div><div><br></div><div>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.<span style="line-height: 1.5;"> It seems t</span><span style="line-height: 1.5;">here are bugs on shutdown event, so</span><span style="line-height: 1.5;"> I did dig into the libvirt source briefly, but I couldn't find where libxl driver calls event callback.</span></div><div><br></div><div>Any help will be greatly appreciated<span style="line-height: 1.5;">. Especially someone who is familiar with xen code.</span></div></body></html>