summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/191
diff options
context:
space:
mode:
authorKevin Wolf2018-04-30 19:09:46 +0200
committerKevin Wolf2018-05-23 14:30:51 +0200
commit1dac83f1a10c4c66858075970e199f4e4a8d8b71 (patch)
tree3bd1963ad8654e0644e09f2874a5caa2a15ae14c /tests/qemu-iotests/191
parentjob: Introduce qapi/job.json (diff)
downloadqemu-1dac83f1a10c4c66858075970e199f4e4a8d8b71.tar.gz
qemu-1dac83f1a10c4c66858075970e199f4e4a8d8b71.tar.xz
qemu-1dac83f1a10c4c66858075970e199f4e4a8d8b71.zip
job: Add JOB_STATUS_CHANGE QMP event
This adds a QMP event that is emitted whenever a job transitions from one status to another. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/191')
-rwxr-xr-xtests/qemu-iotests/1914
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/191 b/tests/qemu-iotests/191
index 77224eb151..d6860e72f7 100755
--- a/tests/qemu-iotests/191
+++ b/tests/qemu-iotests/191
@@ -81,7 +81,7 @@ _send_qemu_cmd $h \
'device': 'top',
'base':'$TEST_IMG.base',
'top': '$TEST_IMG.mid' } }" \
- "BLOCK_JOB_COMPLETED"
+ '"status": "null"'
_send_qemu_cmd $h "" "^}"
echo
@@ -129,7 +129,7 @@ _send_qemu_cmd $h \
'device': 'top',
'base':'$TEST_IMG.base',
'top': '$TEST_IMG.mid' } }" \
- "BLOCK_JOB_COMPLETED"
+ '"status": "null"'
_send_qemu_cmd $h "" "^}"
echo