Lines Matching +full:128 +full:a
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # You should have received a copy of the GNU General Public License
47 echo "### Test 'qemu-io -c discard' on a QCOW2 image without a backing file"
50 echo "# Create an image with compat=$qcow2_compat without a backing file"
51 _make_test_img -o "compat=$qcow2_compat" 128k
54 $QEMU_IO -c 'write -P 0x01 0 128k' "$TEST_IMG" | _filter_qemu_io
55 $QEMU_IO -c 'discard 0 128k' "$TEST_IMG" | _filter_qemu_io
58 $QEMU_IO -c 'read -P 0x00 0 128k' "$TEST_IMG" | _filter_qemu_io
65 echo "### Test 'qemu-io -c discard' on a QCOW2 image with a backing file"
68 echo "# Create a backing image and fill it with data"
70 TEST_IMG="$BACKING_IMG" _make_test_img 128k
71 $QEMU_IO -c 'write -P 0xff 0 128k' "$BACKING_IMG" | _filter_qemu_io
74 echo "# Create an image with compat=$qcow2_compat and a backing file"
78 $QEMU_IO -c 'write -P 0x01 0 128k' "$TEST_IMG" | _filter_qemu_io
79 $QEMU_IO -c 'discard 0 128k' "$TEST_IMG" | _filter_qemu_io
84 $QEMU_IO -c 'read -P 0x00 0 128k' "$TEST_IMG" | _filter_qemu_io
86 # In qcow2 v2 if there's a backing image we cannot zero the clusters
88 $QEMU_IO -c 'read -P 0x01 0 128k' "$TEST_IMG" | _filter_qemu_io