Yeah you are more or less correct. I think this is an upstream QEMU bug, as QEMU is stopping the CPUs but not firing the SHUTDOWN event. I shall report there.
On 12 July 2014 00:23, Guido Günther <a...@sigxcpu.org> wrote: > On Fri, Jul 11, 2014 at 06:33:12AM +0000, Michael D wrote: > > Package: libvirt-bin > > Version: 1.2.4-1~bpo70+1 > > Severity: important > > > > Hi, > > > > I am currently using qemu-x86_64 version 2.0.0 (Debian > > 2.0.0+dfsg-4~bpo70+1) along with libvirt, both backported. When a normal > > QEMU guest is created, and then inside it "halt" is executed. The guest > > will shut down and cease processing, however libvirt will not recognize > > this and still mark the guest as running. The correct action is to send a > > SIGTERM to QEMU. This appears to occur correctly when running on Ubuntu > so > > I am filing the bug against this package. > > No it's not since you tell the quest OS to quit, not libvirt. KVM will > exit if the guest os will shutdown gracefully. If this isn't the case > for all you're guests you need to check there. > Cheers, > -- Guido >