summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/195.out
diff options
context:
space:
mode:
authorDominik Csapak2018-12-05 12:01:31 +0100
committerMarkus Armbruster2018-12-18 07:55:47 +0100
commit9254893882139b9a7738214d669958df4dfeee2f (patch)
tree84680dcdabd696db6dd8a02d65d6351d0e698c93 /tests/qemu-iotests/195.out
parentqmp: Add reason to SHUTDOWN and RESET events (diff)
downloadqemu-9254893882139b9a7738214d669958df4dfeee2f.tar.gz
qemu-9254893882139b9a7738214d669958df4dfeee2f.tar.xz
qemu-9254893882139b9a7738214d669958df4dfeee2f.zip
qmp: Split ShutdownCause host-qmp into quit and system-reset
It is interesting to know whether the shutdown cause was 'quit' or 'reset', especially when using "--no-reboot". In that case, a management layer can now determine if the guest wanted a reboot or shutdown, and can act accordingly. Changes the output of the reason in the iotests from 'host-qmp' to 'host-qmp-quit'. This does not break compatibility because the field was introduced in the same version. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Message-Id: <20181205110131.23049-4-d.csapak@proxmox.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Commit message tweaked] Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/195.out')
-rw-r--r--tests/qemu-iotests/195.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/195.out b/tests/qemu-iotests/195.out
index 07e7173ff0..1e9330b1be 100644
--- a/tests/qemu-iotests/195.out
+++ b/tests/qemu-iotests/195.out
@@ -29,7 +29,7 @@ Testing: -drive if=none,file=TEST_DIR/t.IMGFMT,backing.node-name=mid
"event": "SHUTDOWN",
"data": {
"guest": false,
- "reason": "host-qmp"
+ "reason": "host-qmp-quit"
}
}
@@ -67,7 +67,7 @@ Testing: -drive if=none,file=TEST_DIR/t.IMGFMT,node-name=top
"event": "SHUTDOWN",
"data": {
"guest": false,
- "reason": "host-qmp"
+ "reason": "host-qmp-quit"
}
}