Lines Matching +full:2 +full:gb
4 # Test compressed write to a qcow2 image at an offset above 4 GB
10 # the Free Software Foundation; either version 2 of the License, or
31 trap "_cleanup; exit \$status" 0 1 2 3 15
42 # We need an exact cluster size (2M) and refcount width (2) so we can
47 # The idea is: Create an empty file, mark the first 4 GB as used, then
48 # do a compressed write that thus must be put beyond 4 GB.
50 # 32 bit mask, so qemu-img check will count a cluster before 4 GB as
56 _make_test_img -o cluster_size=2M,refcount_bits=2 64M
61 # We want to cover 4 GB, those are 2048 clusters, equivalent to
69 $QEMU_IO -c 'write -c -P 42 0 2M' "$TEST_IMG" | _filter_qemu_io
74 # This should only print the leaked clusters in the first 4 GB