summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/264.out
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-10-09 11:41:58 +0300
committerEric Blake <eblake@redhat.com>2019-10-22 20:51:31 -0500
commit23ee0ec2360b51619cae452c4faa8590dea74a6e (patch)
treedb427662a616687f24a6e5b90ac4c7dc8fbc1d71 /tests/qemu-iotests/264.out
parentf7651539d80b3490207e94a494aa4b9b255edfdf (diff)
downloadqemu-23ee0ec2360b51619cae452c4faa8590dea74a6e.zip
iotests: test nbd reconnect
Add test, which starts backup to nbd target and restarts nbd server during backup. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20191009084158.15614-4-vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/264.out')
-rw-r--r--tests/qemu-iotests/264.out13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/qemu-iotests/264.out b/tests/qemu-iotests/264.out
new file mode 100644
index 0000000000..3000944b09
--- /dev/null
+++ b/tests/qemu-iotests/264.out
@@ -0,0 +1,13 @@
+{"execute": "blockdev-add", "arguments": {"driver": "raw", "file": {"driver": "nbd", "reconnect-delay": 10, "server": {"path": "TEST_DIR/PID-nbd-sock", "type": "unix"}}, "node-name": "backup0"}}
+{"return": {}}
+{"execute": "blockdev-backup", "arguments": {"device": "drive0", "speed": 1048576, "sync": "full", "target": "backup0"}}
+{"return": {}}
+Backup job is started
+Kill NBD server
+Backup job is still in progress
+{"execute": "block-job-set-speed", "arguments": {"device": "drive0", "speed": 0}}
+{"return": {}}
+Start NBD server
+Backup completed: 5242880
+{"execute": "blockdev-del", "arguments": {"node-name": "backup0"}}
+{"return": {}}