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

Michael D me at md-5.net
Fri Jul 11 08:02:09 UTC 2014


Scratch that, seems to depend on guest or perhaps even boot device. Finnix
live CD halts correctly. Ubuntu 14.04 does not.


On 11 July 2014 15:27, Michael D <me at md-5.net> wrote:

> 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/c6266e4f/attachment.htm>


More information about the libvirt-users mailing list