]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Report shutdown event details
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 12 Apr 2017 10:00:37 +0000 (12:00 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 26 May 2017 13:01:15 +0000 (15:01 +0200)
commita8eba5036cb4b0e2ec827e9e6e019ce70e451377
treeea68534a0b2dc7a8365ae45dc201dbe401ce1b46
parent4c70a6f8745714d59d4d66475f639873a0c8e191
qemu: Report shutdown event details

QEMU will likely report the details of it shutting down, particularly
whether the shutdown was initiated by the guest or host.  We should
forward that information along, at least for shutdown events.  Reset
has that as well, however that is not a lifecycle event and would add
extra constants that might not be used.  It can be added later on.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1384007

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
examples/object-events/event-test.c
include/libvirt/libvirt-domain.h
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c
tools/virsh-domain.c