]> git.proxmox.com Git - mirror_qemu.git/commit
qmp: Add reason to SHUTDOWN and RESET events
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 5 Dec 2018 11:01:30 +0000 (12:01 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 18 Dec 2018 06:55:47 +0000 (07:55 +0100)
commitecd7a0d5bbfbbb6922dfe4049227256d1eafa3b8
tree034f9355026fa6eeb7400ea6e7af22faaef47d98
parentd43013e24de2f101f2d878823d78e2c1f8e2d6ed
qmp: Add reason to SHUTDOWN and RESET events

This makes it possible to determine what the exact reason was for
a RESET or a SHUTDOWN. A management layer might need the specific reason
of those events to determine which cleanups or other actions it needs to do.

This patch also updates the iotests to the new expected output that includes
the reason.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Message-Id: <20181205110131.23049-3-d.csapak@proxmox.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
23 files changed:
qapi/run-state.json
tests/qemu-iotests/060.out
tests/qemu-iotests/071.out
tests/qemu-iotests/081.out
tests/qemu-iotests/087.out
tests/qemu-iotests/094.out
tests/qemu-iotests/109.out
tests/qemu-iotests/117.out
tests/qemu-iotests/119.out
tests/qemu-iotests/120.out
tests/qemu-iotests/127.out
tests/qemu-iotests/140.out
tests/qemu-iotests/143.out
tests/qemu-iotests/156.out
tests/qemu-iotests/176.out
tests/qemu-iotests/183.out
tests/qemu-iotests/184.out
tests/qemu-iotests/185.out
tests/qemu-iotests/191.out
tests/qemu-iotests/195.out
tests/qemu-iotests/223.out
tests/qemu-iotests/227.out
vl.c