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

50 #  0: Two-layer backing chain, commit to upper backing file (implicitly)
52 # 1: Two-layer backing chain, commit to upper backing file (explicitly)
54 # 2: Two-layer backing chain, commit to upper backing file (implicitly with -d)
56 # 3: Two-layer backing chain, commit to lower backing file
60 # working properly and that all images above the base are emptied; therefore,
70 TEST_IMG="$TEST_IMG.base" _make_test_img $len
71 TEST_IMG="$TEST_IMG.itmd" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $len
72 _make_test_img -b "$TEST_IMG.itmd" -F $IMGFMT $len
74 $QEMU_IO -c "write -P 1 0x7ffd0000 192k" "$TEST_IMG.base" | _filter_qemu_io
75 $QEMU_IO -c "write -P 2 0x7ffe0000 128k" "$TEST_IMG.itmd" | _filter_qemu_io
76 $QEMU_IO -c "write -P 3 0x7fff0000 64k" "$TEST_IMG" | _filter_qemu_io
77 $QEMU_IO -c "write -P 4 $(($len - 512)) 512" "$TEST_IMG" | _filter_qemu_io
79 if [ $i -lt 3 ]; then
81 # -b "$TEST_IMG.itmd" should be the default (that is, committing to the
85 # explicitly specify the commit target (this should imply -d)
86 $QEMU_IMG commit -b "$TEST_IMG.itmd" "$TEST_IMG"
88 # do not explicitly specify the commit target, but use -d to leave the
90 $QEMU_IMG commit -d "$TEST_IMG"
94 $QEMU_IO -c 'read -P 1 0x7ffd0000 192k' "$TEST_IMG.base" | _filter_qemu_io
95 $QEMU_IO -c "read -P 0 $((len - 512)) 512" "$TEST_IMG.base" | _filter_qemu_io
98 $QEMU_IO -c 'read -P 1 0x7ffd0000 64k' "$TEST_IMG.itmd" | _filter_qemu_io
99 $QEMU_IO -c 'read -P 2 0x7ffe0000 64k' "$TEST_IMG.itmd" | _filter_qemu_io
100 $QEMU_IO -c 'read -P 3 0x7fff0000 64k' "$TEST_IMG.itmd" | _filter_qemu_io
101 $QEMU_IO -c "read -P 4 $((len - 512)) 512" "$TEST_IMG.itmd" | _filter_qemu_io
104 # it should be unchanged (which is both checked by qemu-img map)
106 $QEMU_IMG commit -b "$TEST_IMG.base" "$TEST_IMG"
109 $QEMU_IO -c 'read -P 1 0x7ffd0000 64k' "$TEST_IMG.base" | _filter_qemu_io
110 $QEMU_IO -c 'read -P 2 0x7ffe0000 64k' "$TEST_IMG.base" | _filter_qemu_io
111 $QEMU_IO -c 'read -P 3 0x7fff0000 64k' "$TEST_IMG.base" | _filter_qemu_io
112 $QEMU_IO -c "read -P 4 $((len - 512)) 512" "$TEST_IMG.base" | _filter_qemu_io
117 $QEMU_IMG map "$TEST_IMG.base" | _filter_qemu_img_map
126 rm -f $seq.full