Home
last modified time | relevance | path

Searched refs:refcount_bits (Results 1 – 21 of 21) sorted by relevance

/qemu/tests/qemu-iotests/
H A D049.out7 …ster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts=off refcount_bits=16
10 …ster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts=off refcount_bits=16
13 …ster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts=off refcount_bits=16
16 …ster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts=off refcount_bits=16
19 …r_size=65536 extended_l2=off compression_type=zlib size=1048576 lazy_refcounts=off refcount_bits=16
28 …ster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts=off refcount_bits=16
31 …ster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts=off refcount_bits=16
34 …ster_size=65536 extended_l2=off compression_type=zlib size=1536 lazy_refcounts=off refcount_bits=16
37 …ster_size=65536 extended_l2=off compression_type=zlib size=1536 lazy_refcounts=off refcount_bits=16
51 …ster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts=off refcount_bits=16
[all …]
H A D11247 _unsupported_imgopts refcount_bits 'compat=0.10' data_file compression_type
191 $QEMU_IMG amend -o refcount_bits=1 "$TEST_IMG"
199 $QEMU_IMG amend -o refcount_bits=64 "$TEST_IMG"
211 $QEMU_IMG amend -o compat=0.10,refcount_bits=16 "$TEST_IMG"
219 $QEMU_IMG amend -o refcount_bits=32,compat=0.10 "$TEST_IMG"
232 $QEMU_IMG amend -o refcount_bits=1 "$TEST_IMG"
237 $QEMU_IMG amend -o refcount_bits=2 "$TEST_IMG"
258 $QEMU_IMG amend -o refcount_bits=2 "$TEST_IMG"
286 $QEMU_IMG amend -o refcount_bits=64 -p "$TEST_IMG" | tr '\r' '\n' \
H A D085.out19 …ize=134217728 backing_file=TEST_DIR/t.qcow2.1 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
48 …728 backing_file=TEST_DIR/1-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
49 …ize=134217728 backing_file=TEST_DIR/t.qcow2.2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
60 …728 backing_file=TEST_DIR/2-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
61 …728 backing_file=TEST_DIR/2-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
72 …728 backing_file=TEST_DIR/3-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
73 …728 backing_file=TEST_DIR/3-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
84 …728 backing_file=TEST_DIR/4-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
85 …728 backing_file=TEST_DIR/4-snapshot-v1.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
96 …728 backing_file=TEST_DIR/5-snapshot-v0.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
[all …]
H A D31345 _unsupported_imgopts cluster_size refcount_bits extended_l2 compat=0.10 data_file
50 refcount_bits=64 # Make it equal to the L2 entry size for convenience
51 options="cluster_size=${cluster_size},refcount_bits=${refcount_bits}"
54 ref_entries=$(( ${cluster_size} * 8 / ${refcount_bits} ))
H A D112.out3 === refcount_bits limits ===
20 === refcount_bits and compat=0.10 ===
29 === Snapshot limit on refcount_bits=1 ===
41 === Snapshot limit on refcount_bits=2 ===
53 === Compressed clusters with refcount_bits=1 ===
85 === Amend from refcount_bits=16 to refcount_bits=1 ===
94 === Amend from refcount_bits=1 to refcount_bits=64 ===
101 qemu-img: compat=0.10 requires refcount_bits=16
H A D16336 refcount_bits = '16' variable in ShrinkBaseClass
92 ',refcount_bits=' + self.refcount_bits,
153 refcount_bits = '64' variable in TestShrink512
160 refcount_bits = '1' variable in TestShrink1M
H A D27245 _unsupported_imgopts data_file cluster_size refcount_bits 'compat=0.10'
56 _make_test_img -o cluster_size=2M,refcount_bits=2 64M
H A D30544 _unsupported_imgopts cluster_size refcount_bits extended_l2 compat=0.10 data_file
47 _make_test_img -o refcount_bits=64,cluster_size=1k 1M
H A D082.out72 refcount_bits=<num> - Width of a reference count entry in bits
98 refcount_bits=<num> - Width of a reference count entry in bits
124 refcount_bits=<num> - Width of a reference count entry in bits
150 refcount_bits=<num> - Width of a reference count entry in bits
176 refcount_bits=<num> - Width of a reference count entry in bits
202 refcount_bits=<num> - Width of a reference count entry in bits
228 refcount_bits=<num> - Width of a reference count entry in bits
254 refcount_bits=<num> - Width of a reference count entry in bits
293 refcount_bits=<num> - Width of a reference count entry in bits
382 refcount_bits=<num> - Width of a reference count entry in bits
[all …]
H A D206274 for refcount_bits in [ 128, 0, 7 ]:
278 'refcount-bits': refcount_bits })
H A D144.out18 … size=536870912 backing_file=TEST_DIR/t.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
54 … size=536870912 backing_file=TEST_DIR/t.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
H A D29044 _unsupported_imgopts 'compat=0.10' refcount_bits data_file compression_type
H A D185.out16 …e=67108864 backing_file=TEST_DIR/t.qcow2.base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
29 …ze=67108864 backing_file=TEST_DIR/t.qcow2.mid backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
87 …_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16
114 …_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16
H A D182.out27 …zlib size=197120 backing_file=TEST_DIR/t.qcow2 backing_fmt=file lazy_refcounts=off refcount_bits=16
H A D27146 _unsupported_imgopts extended_l2 compat=0.10 cluster_size data_file refcount_bits=1[^0-9]
/qemu/block/
H A Dqcow2.c3464 uint64_t refcount_bits; in qcow2_opt_get_refcount_bits_del() local
3467 if (refcount_bits > 64 || !is_power_of_2(refcount_bits)) { in qcow2_opt_get_refcount_bits_del()
3480 return refcount_bits; in qcow2_opt_get_refcount_bits_del()
3597 qcow2_opts->refcount_bits = 16; in qcow2_co_create()
5064 uint64_t refcount_bits; in qcow2_measure() local
5258 .refcount_bits = s->refcount_bits, in qcow2_get_specific_info()
5277 .refcount_bits = s->refcount_bits, in qcow2_get_specific_info()
5683 int refcount_bits = s->refcount_bits; in qcow2_amend_options() local
5733 if (refcount_bits <= 0 || refcount_bits > 64 || in qcow2_amend_options()
5768 + (s->refcount_bits != refcount_bits) + in qcow2_amend_options()
[all …]
H A Dqcow2.h381 int refcount_bits; member
H A Dqcow2-refcount.c3509 s->refcount_bits = 1 << refcount_order; in qcow2_change_refcount_order()
3510 s->refcount_max = UINT64_C(1) << (s->refcount_bits - 1); in qcow2_change_refcount_order()
/qemu/docs/
H A Dqcow2-cache.txt69 bits, but a different value can be set using the refcount_bits option:
71 qemu-img create -f qcow2 -o refcount_bits=8 hd.qcow2 4G
86 disk_size = refcount_cache_size * cluster_size * 8 / refcount_bits
88 With the default values for cluster_size (64KB) and refcount_bits
/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py413 refcount_bits = 1 << self.header['refcount_order'][0].value
417 block_size = self.cluster_size * 8 // refcount_bits
/qemu/docs/interop/
H A Dqcow2.txt176 in bits: refcount_bits = 1 << refcount_order). For version 2
178 (i.e. refcount_bits = 16).
179 This value may not exceed 6 (i.e. refcount_bits = 64).
465 refcount_block_entries = (cluster_size * 8 / refcount_bits)
485 Refcount block entry (x = refcount_bits - 1):
487 Bit 0 - x: Reference count of the cluster. If refcount_bits implies a