aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/109
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/109')
-rwxr-xr-xtests/qemu-iotests/1093
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qemu-iotests/109 b/tests/qemu-iotests/109
index 280ed27aa9..927151a285 100755
--- a/tests/qemu-iotests/109
+++ b/tests/qemu-iotests/109
@@ -62,6 +62,9 @@ function run_qemu()
"return"
_send_qemu_cmd $QEMU_HANDLE '' "$qmp_event"
+ if test "$qmp_event" = BLOCK_JOB_ERROR; then
+ _send_qemu_cmd $QEMU_HANDLE '' "BLOCK_JOB_COMPLETED"
+ fi
_send_qemu_cmd $QEMU_HANDLE '{"execute":"query-block-jobs"}' "return"
_cleanup_qemu
}