iotests: Make qemu_nbd_popen() a contextmanager
[qemu.git] / tests / qemu-iotests / 264.out
1 Start NBD server
2 {"execute": "blockdev-add", "arguments": {"driver": "raw", "file": {"driver": "nbd", "reconnect-delay": 10, "server": {"path": "TEST_DIR/PID-nbd-sock", "type": "unix"}}, "node-name": "backup0"}}
3 {"return": {}}
4 {"execute": "blockdev-backup", "arguments": {"device": "drive0", "speed": 1048576, "sync": "full", "target": "backup0"}}
5 {"return": {}}
6 Backup job is started
7 Kill NBD server
8 Backup job is still in progress
9 {"execute": "block-job-set-speed", "arguments": {"device": "drive0", "speed": 0}}
10 {"return": {}}
11 Start NBD server
12 Backup completed: 5242880
13 {"execute": "blockdev-del", "arguments": {"node-name": "backup0"}}
14 {"return": {}}
15 Kill NBD server