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>
This commit is contained in:
Kevin Wolf 2018-04-30 19:09:46 +02:00
parent bf42508f24
commit 1dac83f1a1
23 changed files with 449 additions and 44 deletions

View file

@ -119,7 +119,7 @@ _send_qemu_cmd $QEMU_HANDLE \
_send_qemu_cmd $QEMU_HANDLE \
'' \
'BLOCK_JOB_COMPLETED'
'"status": "null"'
# Remove the source images
rm -f "$TEST_IMG{,.backing,.overlay}"