Lines Matching +full:read +full:- +full:only

4 # Test that a backing image is put back in read-only mode after
5 # block-commit (both when it fails and when it succeeds).
51 # Create the images: base <- int <- active
53 TEST_IMG="$TEST_IMG.int" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT
54 _make_test_img -b "$TEST_IMG.int" -F $IMGFMT
57 # none0: base (read-only)
58 # none1: base <- int <- active
59 _launch_qemu -drive if=none,file="${TEST_IMG}.base",node-name=base,read-only=on \
60 -drive if=none,file="${TEST_IMG}",backing.node-name=int,backing.backing=base
67 echo '=== Send a write command to a drive opened in read-only mode (1)'
70 "{ 'execute': 'human-monitor-command',
71 'arguments': {'command-line': 'qemu-io none0 \"aio_write 0 2k\"'}}" \
75 echo '=== Run block-commit on base using an invalid filter node name'
78 "{ 'execute': 'block-commit',
79 'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int',
80 'filter-node-name': '1234'}}" \
84 echo '=== Send a write command to a drive opened in read-only mode (2)'
87 "{ 'execute': 'human-monitor-command',
88 'arguments': {'command-line': 'qemu-io none0 \"aio_write 0 2k\"'}}" \
92 echo '=== Run block-commit on base using the default filter node name'
95 "{ 'execute': 'block-commit',
96 'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int'}}" \
99 # Wait for block-commit to finish
104 echo '=== Send a write command to a drive opened in read-only mode (3)'
107 "{ 'execute': 'human-monitor-command',
108 'arguments': {'command-line': 'qemu-io none0 \"aio_write 0 2k\"'}}" \
115 rm -f $seq.full