[libvirt-users] LibVirt + QEMU & no-shutdown

Michael D me at md-5.net
Fri Jul 11 05:27:46 UTC 2014


I am currently running LibVirt with Qemu on Debian Wheezy:

Versions:

   - libvirtd (libvirt) 1.2.4
   - qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c)
   2003-2008 Fabrice Bellard

It's all working perfectly, including ACPI: virsh shutdown guest. However
when I issue "halt" from the guest, the guest stops but libvirt thinks it
is still running: (virsh list outputs state: running). virsh dominfo does
the same thing: State: running

I believe this is due to the -no-shutdown flag passed to qemu, making it
stop the CPUs rather than halt entirely. Is this however a bug that the
status is not updated correctly? I've taken a glance at the source and it
should SIGTERM qemu when it sees the stop, but evidently it isn't.


Thanks

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140711/21d22b2d/attachment.htm>


More information about the libvirt-users mailing list