summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests
diff options
context:
space:
mode:
authorBenoƮt Canet <benoit.canet@irqsave.net>2014-02-22 18:43:41 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-02-28 18:59:06 +0100
commit0c762736df0cce743b4017c41435632dcb866413 (patch)
tree68713972744b10523b47c058fcf38da0ef4d3e80 /tests/qemu-iotests
parenta9e6a0cbe2c12c7b5708451d2211d9b00922d605 (diff)
downloadqemu-0c762736df0cce743b4017c41435632dcb866413.tar.gz
qemu-0c762736df0cce743b4017c41435632dcb866413.tar.bz2
qemu-0c762736df0cce743b4017c41435632dcb866413.zip
qmp: Make Quorum error events more palatable.
Insert quorum QMP events documentation alphabetically. Also change the "ret" errno value by an optional "error" being an strerror(-ret) in the QUORUM_REPORT_BAD qmp event. Signed-off-by: Benoit Canet <benoit@irqsave.net> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rw-r--r--tests/qemu-iotests/081.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/081.out b/tests/qemu-iotests/081.out
index 4fe2f95f63..84aeb0c730 100644
--- a/tests/qemu-iotests/081.out
+++ b/tests/qemu-iotests/081.out
@@ -30,7 +30,7 @@ Testing: -drive file=TEST_DIR/2.IMGFMT,format=IMGFMT,if=none,id=drive2
QMP_VERSION
{"return": {}}
{"return": {}}
-{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "QUORUM_REPORT_BAD", "data": {"node-name": "", "ret": 0, "sectors-count": 20480, "sector-num": 0}}
+{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "QUORUM_REPORT_BAD", "data": {"node-name": "", "sectors-count": 20480, "sector-num": 0}}
read 10485760/10485760 bytes at offset 0
10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
{"return": ""}