Lines Matching +full:base +full:- +full:64

59     $QEMU -nographic -qmp stdio -serial none "$@" 2>&1 \
61 | sed 's/"sha256": ".\{64\}"/"sha256": HASH/'
67 # 0: Two-layer backing chain, commit to upper backing file (implicitly)
69 # 1: Two-layer backing chain, commit to upper backing file (explicitly)
71 # 2: Two-layer backing chain, commit to upper backing file (implicitly with -d)
73 # 3: Two-layer backing chain, commit to lower backing file
77 # working properly and that all images above the base are emptied; therefore,
87 TEST_IMG="$TEST_IMG.base" _make_test_img $len
88 TEST_IMG="$TEST_IMG.itmd" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $len
89 _make_test_img -b "$TEST_IMG.itmd" -F $IMGFMT $len
92 snapshot) $QEMU_IMG snapshot -c snap "$TEST_IMG" ;;
96 { "execute": "blockdev-add",
97 "arguments": { "driver": "qcow2", "node-name": "drive0",
99 { "execute": "block-dirty-bitmap-add",
107 $QEMU_IO -c "write -P 1 0x7ffd0000 192k" "$TEST_IMG.base" | _filter_qemu_io
108 $QEMU_IO -c "write -P 2 0x7ffe0000 128k" "$TEST_IMG.itmd" | _filter_qemu_io
109 $QEMU_IO -c "write -P 3 0x7fff0000 64k" "$TEST_IMG" | _filter_qemu_io
110 $QEMU_IO -c "write -P 4 $(($len - 512)) 512" "$TEST_IMG" | _filter_qemu_io
112 if [ $i -lt 3 ]; then
114 # -b "$TEST_IMG.itmd" should be the default (that is, committing to the
118 # explicitly specify the commit target (this should imply -d)
119 $QEMU_IMG commit -b "$TEST_IMG.itmd" "$TEST_IMG"
121 # do not explicitly specify the commit target, but use -d to leave the
123 $QEMU_IMG commit -d "$TEST_IMG"
127 $QEMU_IO -c 'read -P 1 0x7ffd0000 192k' "$TEST_IMG.base" | _filter_qemu_io
128 $QEMU_IO -c "read -P 0 $((len - 512)) 512" "$TEST_IMG.base" | _filter_qemu_io
131 $QEMU_IO -c 'read -P 1 0x7ffd0000 64k' "$TEST_IMG.itmd" | _filter_qemu_io
132 $QEMU_IO -c 'read -P 2 0x7ffe0000 64k' "$TEST_IMG.itmd" | _filter_qemu_io
133 $QEMU_IO -c 'read -P 3 0x7fff0000 64k' "$TEST_IMG.itmd" | _filter_qemu_io
134 $QEMU_IO -c "read -P 4 $((len - 512)) 512" "$TEST_IMG.itmd" | _filter_qemu_io
137 # it should be unchanged (which is both checked by qemu-img map)
139 $QEMU_IMG commit -b "$TEST_IMG.base" "$TEST_IMG"
142 $QEMU_IO -c 'read -P 1 0x7ffd0000 64k' "$TEST_IMG.base" | _filter_qemu_io
143 $QEMU_IO -c 'read -P 2 0x7ffe0000 64k' "$TEST_IMG.base" | _filter_qemu_io
144 $QEMU_IO -c 'read -P 3 0x7fff0000 64k' "$TEST_IMG.base" | _filter_qemu_io
145 $QEMU_IO -c "read -P 4 $((len - 512)) 512" "$TEST_IMG.base" | _filter_qemu_io
150 $QEMU_IMG map "$TEST_IMG.base" | _filter_qemu_img_map
157 $QEMU_IMG snapshot -l "$TEST_IMG" |
162 { "execute": "blockdev-add",
163 "arguments": { "driver": "qcow2", "node-name": "drive0",
165 { "execute": "x-debug-block-dirty-bitmap-sha256",
177 rm -f $seq.full