Kim Larry
2014-Feb-09 10:52 UTC
[libvirt-users] event-test.py cannot detects domain shutdown
Hi, I used event-test.py from here: http://libvirt.org/git/?p=libvirt-python.git;a=blob;f=examples/event-test.py;h=1402c043ca99fdc1cf03ad97ab60e7e3bbabfad2;hb=HEAD which is very lasted version. However, it detects all of events but not domain shutdown. I've searched through Google and got nothing. libvirtd version is 1.1.4 and using Xen for hypervisor. Any ideas? Larry
Eric Blake
2014-Feb-10 16:58 UTC
Re: [libvirt-users] event-test.py cannot detects domain shutdown
On 02/09/2014 03:52 AM, Kim Larry wrote:> Hi, > > I used event-test.py from here: > http://libvirt.org/git/?p=libvirt-python.git;a=blob;f=examples/event-test.py;h=1402c043ca99fdc1cf03ad97ab60e7e3bbabfad2;hb=HEAD__which > is very lasted version. > > However, it detects all of events but not domain shutdown. I've searched through > Google and got nothing. > > 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. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org