mirror of
https://github.com/qemu/qemu.git
synced 2025-08-16 23:02:44 +00:00

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>
9 lines
365 B
Plaintext
9 lines
365 B
Plaintext
QA output created by 143
|
|
{"return": {}}
|
|
{"return": {}}
|
|
can't open device nbd+unix:///no_such_export?socket=TEST_DIR/nbd: Requested export not available
|
|
server reported: export 'no_such_export' not present
|
|
{"return": {}}
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp"}}
|
|
*** done
|