Lines Matching full:size
2 === Check correct interpretation of suffixes for image size ===
4 == 1. Traditional size parameter ==
7 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
10 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
13 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
16 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
19 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1048576 lazy_refcou…
22 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1073741824 lazy_ref…
25 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1099511627776 lazy_…
28 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
31 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
34 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1536 lazy_refcounts…
37 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1536 lazy_refcounts…
40 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1572864 lazy_refcou…
43 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1610612736 lazy_ref…
46 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1649267441664 lazy_…
48 == 2. Specifying size via -o ==
50 qemu-img create -f qcow2 -o size=1024 TEST_DIR/t.qcow2
51 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
53 qemu-img create -f qcow2 -o size=1024b TEST_DIR/t.qcow2
54 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
56 qemu-img create -f qcow2 -o size=1k TEST_DIR/t.qcow2
57 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
59 qemu-img create -f qcow2 -o size=1K TEST_DIR/t.qcow2
60 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
62 qemu-img create -f qcow2 -o size=1M TEST_DIR/t.qcow2
63 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1048576 lazy_refcou…
65 qemu-img create -f qcow2 -o size=1G TEST_DIR/t.qcow2
66 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1073741824 lazy_ref…
68 qemu-img create -f qcow2 -o size=1T TEST_DIR/t.qcow2
69 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1099511627776 lazy_…
71 qemu-img create -f qcow2 -o size=1024.0 TEST_DIR/t.qcow2
72 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
74 qemu-img create -f qcow2 -o size=1024.0b TEST_DIR/t.qcow2
75 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts…
77 qemu-img create -f qcow2 -o size=1.5k TEST_DIR/t.qcow2
78 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1536 lazy_refcounts…
80 qemu-img create -f qcow2 -o size=1.5K TEST_DIR/t.qcow2
81 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1536 lazy_refcounts…
83 qemu-img create -f qcow2 -o size=1.5M TEST_DIR/t.qcow2
84 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1572864 lazy_refcou…
86 qemu-img create -f qcow2 -o size=1.5G TEST_DIR/t.qcow2
87 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1610612736 lazy_ref…
89 qemu-img create -f qcow2 -o size=1.5T TEST_DIR/t.qcow2
90 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1649267441664 lazy_…
95 qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807.
97 qemu-img create -f qcow2 -o size=-1024 TEST_DIR/t.qcow2
98 qemu-img: TEST_DIR/t.qcow2: Value '-1024' is out of range for parameter 'size'
101 qemu-img: Invalid image size specified. You may use k, M, G, T, P or E suffixes for
104 qemu-img create -f qcow2 -o size=-1k TEST_DIR/t.qcow2
105 qemu-img: TEST_DIR/t.qcow2: Parameter 'size' expects a non-negative number below 2^64
110 qemu-img: Invalid image size specified. You may use k, M, G, T, P or E suffixes for
113 qemu-img create -f qcow2 -o size=1kilobyte TEST_DIR/t.qcow2
114 qemu-img: TEST_DIR/t.qcow2: Parameter 'size' expects a non-negative number below 2^64
119 qemu-img: Invalid image size specified. You may use k, M, G, T, P or E suffixes for
122 qemu-img create -f qcow2 -o size=foobar TEST_DIR/t.qcow2
123 qemu-img: TEST_DIR/t.qcow2: Parameter 'size' expects a non-negative number below 2^64
127 == 4. Specify size twice (-o and traditional parameter) ==
129 qemu-img create -f qcow2 -o size=10M TEST_DIR/t.qcow2 20M
130 qemu-img: TEST_DIR/t.qcow2: The image size must be specified only once
132 == Check correct interpretation of suffixes for cluster size ==
135 …qcow2', fmt=qcow2 cluster_size=1024 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
138 …qcow2', fmt=qcow2 cluster_size=1024 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
141 …qcow2', fmt=qcow2 cluster_size=1024 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
144 …qcow2', fmt=qcow2 cluster_size=1024 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
147 …w2', fmt=qcow2 cluster_size=1048576 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
150 …qcow2', fmt=qcow2 cluster_size=1024 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
153 …qcow2', fmt=qcow2 cluster_size=1024 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
156 ….qcow2', fmt=qcow2 cluster_size=512 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
159 ….qcow2', fmt=qcow2 cluster_size=512 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
162 …ow2', fmt=qcow2 cluster_size=524288 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
167 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 compat=0.1…
170 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 compat=1.1…
173 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 compat=0.4…
177 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 compat=foo…
183 …luster_size=65536 extended_l2=off preallocation=off compression_type=zlib size=67108864 lazy_refco…
186 …r_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=67108864 lazy_refco…
189 …uster_size=65536 extended_l2=off preallocation=1234 compression_type=zlib size=67108864 lazy_refco…
195 …2 encryption=off cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
198 ….key-secret=sec0 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refco…
203 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 compat=1.1…
206 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 compat=1.1…
209 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 compat=0.1…
212 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 compat=0.1…