Stefan Hajnoczi | 32a1681 | 2017-07-05 13:57:38 +0100 | [diff] [blame] | 1 | QA output created by 178 |
| 2 | == Input validation == |
| 3 | |
| 4 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 |
| 5 | qemu-img: Either --size N or one filename must be specified. |
| 6 | qemu-img: --size N cannot be used together with a filename. |
| 7 | qemu-img: At most one filename argument is allowed. |
Stefan Hajnoczi | c3673dc | 2020-02-21 11:25:21 +0000 | [diff] [blame] | 8 | qemu-img: Either --size N or one filename must be specified. |
| 9 | qemu-img: --image-opts, -f, and -l require a filename argument. |
| 10 | qemu-img: --image-opts, -f, and -l require a filename argument. |
| 11 | qemu-img: --image-opts, -f, and -l require a filename argument. |
Stefan Hajnoczi | 32a1681 | 2017-07-05 13:57:38 +0100 | [diff] [blame] | 12 | qemu-img: Invalid option list: , |
| 13 | qemu-img: Invalid parameter 'snapshot.foo' |
Max Reitz | bb24cdc | 2021-01-26 13:38:34 +0100 | [diff] [blame] | 14 | qemu-img: Failed in parsing snapshot param 'snapshot.foo=bar' |
Stefan Hajnoczi | 32a1681 | 2017-07-05 13:57:38 +0100 | [diff] [blame] | 15 | qemu-img: --output must be used with human or json as argument. |
Eric Blake | cf923b7 | 2021-02-11 14:44:36 -0600 | [diff] [blame] | 16 | qemu-img: Invalid image size specified. You may use k, M, G, T, P or E suffixes for |
| 17 | qemu-img: kilobytes, megabytes, gigabytes, terabytes, petabytes and exabytes. |
Stefan Hajnoczi | 32a1681 | 2017-07-05 13:57:38 +0100 | [diff] [blame] | 18 | qemu-img: Unknown file format 'foo' |
| 19 | |
| 20 | == Size calculation for a new file (human) == |
| 21 | |
| 22 | required size: 0 |
| 23 | fully allocated size: 0 |
| 24 | required size: 2147483648 |
| 25 | fully allocated size: 2147483648 |
| 26 | required size: 68719476736 |
| 27 | fully allocated size: 68719476736 |
| 28 | required size: 274877906944 |
| 29 | fully allocated size: 274877906944 |
| 30 | required size: 1099511627776 |
| 31 | fully allocated size: 1099511627776 |
| 32 | required size: 2251799813685248 |
| 33 | fully allocated size: 2251799813685248 |
| 34 | required size: 8070450532247928832 |
| 35 | fully allocated size: 8070450532247928832 |
| 36 | |
| 37 | == Empty raw input image (human) == |
| 38 | |
| 39 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0 |
| 40 | required size: 0 |
| 41 | fully allocated size: 0 |
| 42 | |
| 43 | converted image file size in bytes: 0 |
| 44 | |
| 45 | == raw input image with data (human) == |
| 46 | |
| 47 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 |
| 48 | required size: 1073741824 |
| 49 | fully allocated size: 1073741824 |
| 50 | wrote 512/512 bytes at offset 512 |
| 51 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 52 | wrote 65536/65536 bytes at offset 65536 |
| 53 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 54 | wrote 64512/64512 bytes at offset 134217728 |
| 55 | 63 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 56 | required size: 1073741824 |
| 57 | fully allocated size: 1073741824 |
| 58 | |
| 59 | converted image file size in bytes: 1073741824 |
| 60 | |
| 61 | == raw input image and preallocation (human) == |
| 62 | |
| 63 | required size: 1073741824 |
| 64 | fully allocated size: 1073741824 |
| 65 | |
| 66 | converted image file size in bytes: 1073741824 |
| 67 | |
| 68 | == Fully-allocated raw input image (human) == |
| 69 | |
| 70 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608 |
| 71 | wrote 8388608/8388608 bytes at offset 0 |
| 72 | 8 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 73 | required size: 8388608 |
| 74 | fully allocated size: 8388608 |
| 75 | |
| 76 | converted image file size in bytes: 8388608 |
| 77 | |
| 78 | == Size calculation for a new file (json) == |
| 79 | |
| 80 | { |
| 81 | "required": 0, |
| 82 | "fully-allocated": 0 |
| 83 | } |
| 84 | { |
| 85 | "required": 2147483648, |
| 86 | "fully-allocated": 2147483648 |
| 87 | } |
| 88 | { |
| 89 | "required": 68719476736, |
| 90 | "fully-allocated": 68719476736 |
| 91 | } |
| 92 | { |
| 93 | "required": 274877906944, |
| 94 | "fully-allocated": 274877906944 |
| 95 | } |
| 96 | { |
| 97 | "required": 1099511627776, |
| 98 | "fully-allocated": 1099511627776 |
| 99 | } |
| 100 | { |
| 101 | "required": 2251799813685248, |
| 102 | "fully-allocated": 2251799813685248 |
| 103 | } |
| 104 | { |
| 105 | "required": 8070450532247928832, |
| 106 | "fully-allocated": 8070450532247928832 |
| 107 | } |
| 108 | |
| 109 | == Empty raw input image (json) == |
| 110 | |
| 111 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=0 |
| 112 | { |
| 113 | "required": 0, |
| 114 | "fully-allocated": 0 |
| 115 | } |
| 116 | |
| 117 | converted image file size in bytes: 0 |
| 118 | |
| 119 | == raw input image with data (json) == |
| 120 | |
| 121 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 |
| 122 | { |
| 123 | "required": 1073741824, |
| 124 | "fully-allocated": 1073741824 |
| 125 | } |
| 126 | wrote 512/512 bytes at offset 512 |
| 127 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 128 | wrote 65536/65536 bytes at offset 65536 |
| 129 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 130 | wrote 64512/64512 bytes at offset 134217728 |
| 131 | 63 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 132 | { |
| 133 | "required": 1073741824, |
| 134 | "fully-allocated": 1073741824 |
| 135 | } |
| 136 | |
| 137 | converted image file size in bytes: 1073741824 |
| 138 | |
| 139 | == raw input image and preallocation (json) == |
| 140 | |
| 141 | { |
| 142 | "required": 1073741824, |
| 143 | "fully-allocated": 1073741824 |
| 144 | } |
| 145 | |
| 146 | converted image file size in bytes: 1073741824 |
| 147 | |
| 148 | == Fully-allocated raw input image (json) == |
| 149 | |
| 150 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608 |
| 151 | wrote 8388608/8388608 bytes at offset 0 |
| 152 | 8 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 153 | { |
| 154 | "required": 8388608, |
| 155 | "fully-allocated": 8388608 |
| 156 | } |
| 157 | |
| 158 | converted image file size in bytes: 8388608 |
| 159 | *** done |