Lines Matching +full:- +full:- +full:-
43 # blkdebug can only inject errors on bs->file, not on the data_file,
50 $QEMU -nographic -qmp stdio -serial none "$@"
69 scratch_out="$TEST_DIR/img-create.out"
71 TEST_IMG="$TEST_IMG.base" IMGFMT="raw" _make_test_img --no-opts $IMG_SIZE \
74 rm -f "$scratch_out"
77 $QEMU_IO -c "open -o driver=raw,file.driver=blkverify,file.raw.filename=$TEST_IMG.base $TEST_IMG" \
78 -c 'read 0 512' -c 'write -P 42 0x38000 512' -c 'read -P 42 0x38000 512' | _filter_qemu_io
80 $QEMU_IO -c 'write -P 42 0 512' "$TEST_IMG" | _filter_qemu_io
82 $QEMU_IO -c "open -o driver=raw,file.driver=blkverify,file.raw.filename=$TEST_IMG.base $TEST_IMG" \
83 -c 'read -P 42 0 512' | _filter_qemu_io
89 TEST_IMG="$TEST_IMG.base" IMGFMT="raw" _make_test_img --no-opts $IMG_SIZE \
94 $QEMU_IO -c "open -o driver=raw,file.driver=blkverify,file.raw.filename=$TEST_IMG.base,file.test.dr…
95 -c 'read 0 512' -c 'write -P 42 0x38000 512' -c 'read -P 42 0x38000 512' | _filter_qemu_io
97 $QEMU_IO -c 'write -P 42 0 512' "$TEST_IMG" | _filter_qemu_io
99 $QEMU_IO -c "open -o driver=raw,file.driver=blkverify,file.raw.filename=$TEST_IMG.base $TEST_IMG" \
100 -c 'read -P 42 0 512' | _filter_qemu_io
106 $QEMU_IO -c "open -o file.driver=blkdebug,file.inject-error.event=l2_load $TEST_IMG" \
107 -c 'read -P 42 0x38000 512'
113 $QEMU_IO -c "open -o driver=$IMGFMT,file.driver=blkdebug,file.inject-error.event=l2_load,file.image…
114 -c 'read -P 42 0x38000 512'
122 { "execute": "blockdev-add",
124 "node-name": "drive0",
129 { "execute": "blockdev-add",
132 "node-name": "drive0-debug",
136 "inject-error": [{
142 { "execute": "human-monitor-command",
144 "command-line": 'qemu-io drive0-debug "read 0 512"'
156 { "execute": "blockdev-add",
158 "node-name": "drive0",
166 { "execute": "blockdev-add",
169 "node-name": "drive0-verify",
177 { "execute": "human-monitor-command",
179 "command-line": 'qemu-io drive0-verify "read 0 512"'
191 { "execute": "blockdev-add",
193 "node-name": "drive0",
198 { "execute": "blockdev-add",
201 "node-name": "drive0-verify",
212 { "execute": "human-monitor-command",
214 "command-line": 'qemu-io drive0-verify "read 0 512"'
221 echo "=== Testing blkdebug's set-state through QMP ==="
226 { "execute": "blockdev-add",
228 "node-name": "drive0",
233 { "execute": "blockdev-add",
236 "node-name": "drive0-debug",
240 "inject-error": [{
244 "set-state": [{
251 { "execute": "human-monitor-command",
253 "command-line": 'qemu-io drive0-debug "read 0 512"'
256 { "execute": "human-monitor-command",
258 "command-line": 'qemu-io drive0-debug "write 0 512"'
261 { "execute": "human-monitor-command",
263 "command-line": 'qemu-io drive0-debug "read 0 512"'
271 rm -f $seq.full