/qemu/tests/vmstate-static-checker-data/ |
H A D | dump1.json | 18 "size": 2 number 24 "size": 4 number 30 "size": 4 number 48 "size": 1880, number 58 "size": 4 number 64 "size": 4 number 70 "size": 4 number 76 "size": 4 number 82 "size": 4 number 88 "size": 4 number [all …]
|
H A D | dump2.json | 18 "size": 2 number 24 "size": 4 number 30 "size": 4 number 48 "size": 1880, number 58 "size": 4 number 64 "size": 4 number 70 "size": 4 number 76 "size": 4 number 82 "size": 4 number 88 "size": 4 number [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 178.out.qcow2 | 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. 8 qemu-img: Either --size N or one filename must be specified. 16 qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807. 19 == Size calculation for a new file (human) == 21 required size: 196608 22 fully allocated size: 196608 23 required size: 589824 24 fully allocated size: 2148073472 [all …]
|
H A D | 059.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 7 === Testing too big L2 table size === 8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 9 qemu-io: can't open device TEST_DIR/t.vmdk: L2 table size too big 11 === Testing too big L1 table size === 12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 13 qemu-io: can't open device TEST_DIR/t.vmdk: L1 size too big 16 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648 19 virtual size: 2 GiB (2147483648 bytes) 22 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648 [all …]
|
H A D | 178.out.raw | 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. 8 qemu-img: Either --size N or one filename must be specified. 16 qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807. 19 == Size calculation for a new file (human) == 21 required size: 0 22 fully allocated size: 0 23 required size: 2147483648 24 fully allocated size: 2147483648 [all …]
|
H A D | 212.out | 3 …job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.parallels", "size": 0}}} 10 …nts": {"job-id": "job0", "options": {"driver": "parallels", "file": "imgfile", "size": 134217728}}} 17 virtual size: 128 MiB (134217728 bytes) 21 …job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.parallels", "size": 0}}} 26 …options": {"cluster-size": 1048576, "driver": "parallels", "file": {"driver": "file", "filename": … 33 virtual size: 64 MiB (67108864 bytes) 37 …job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.parallels", "size": 0}}} 42 …"options": {"cluster-size": 65536, "driver": "parallels", "file": {"driver": "file", "filename": "… 49 virtual size: 32 MiB (33554432 bytes) 53 …b-id": "job0", "options": {"driver": "parallels", "file": "this doesn't exist", "size": 33554432}}} [all …]
|
H A D | 191.out | 5 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 6 Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base ba… 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing… 8 Formatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid ba… 120 "virtual-size": 67108864, 122 "cluster-size": 65536, 124 "actual-size": SIZE, 128 "virtual-size": 67108864, 130 "cluster-size": 65536, 132 "actual-size": SIZE, [all …]
|
H A D | 190.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2199023255552 5 required size: 2199023255552 6 fully allocated size: 2199023255552 7 required size: 335806464 8 fully allocated size: 2199359062016 9 bitmaps size: 0 10 required size: 18874368 11 fully allocated size: 2199042129920 12 bitmaps size: 0 16 required size: 327680 [all …]
|
H A D | 213.out | 3 …": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}} 10 …rguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "imgfile", "size": 134217728}}} 17 virtual size: 128 MiB (134217728 bytes) 22 …": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}} 27 …k-size": 8388608, "block-state-zero": true, "driver": "vhdx", "file": {"driver": "file", "filename… 34 virtual size: 64 MiB (67108864 bytes) 39 …": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}} 44 …size": 268435456, "block-state-zero": false, "driver": "vhdx", "file": {"driver": "file", "filenam… 51 virtual size: 32 MiB (33554432 bytes) 56 … {"job-id": "job0", "options": {"driver": "vhdx", "file": "this doesn't exist", "size": 33554432}}} [all …]
|
H A D | 049.out | 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… [all …]
|
H A D | 213 | 41 size = 128 * 1024 * 1024 variable 46 'size': 0 }) 53 'size': size }) 64 # Choose a different size to show that we got a new image 65 size = 64 * 1024 * 1024 variable 70 'size': 0 }) 76 'size': size, 77 'log-size': 1048576, 78 'block-size': 8388608, 91 # Choose a different size to show that we got a new image [all …]
|
H A D | 261.out | 5 Formatting 'TEST_DIR/t.IMGFMT.v2.orig', fmt=IMGFMT size=67108864 11 Extra data size: 0 15 Extra data size: 50 16 VM state size: 0 17 Disk size: 67108864 23 Extra data size: 8 24 VM state size: 0 33 Extra data size: 24 34 VM state size: 0 35 Disk size: 67108864 [all …]
|
H A D | 212 | 41 size = 128 * 1024 * 1024 variable 46 'size': 0 }) 53 'size': size }) 64 # Choose a different size to show that we got a new image 65 size = 64 * 1024 * 1024 variable 70 'size': 0 }) 76 'size': size, 77 'cluster-size': 1048576 }) 88 # Choose a different size to show that we got a new image 89 size = 32 * 1024 * 1024 variable [all …]
|
H A D | 206 | 43 size = 128 * 1024 * 1024 variable 48 'size': 0 }) 57 'size': size }) 68 # Choose a different size to show that we got a new image 69 size = 64 * 1024 * 1024 variable 74 'size': 0, 83 'size': size, 85 'cluster-size': 65536, 99 # Choose a different size to show that we got a new image 100 size = 32 * 1024 * 1024 variable [all …]
|
H A D | 266 | 33 size = 8 * 964 * 17 * 512 37 'size': size }) 47 size = 16 * 964 * 17 * 512 51 'size': size, 53 'force-size': False }) 61 # Not representable in CHS (fine with force-size=True) 62 size = 1048576 66 'size': size, 68 'force-size': True }) 71 # Size not representable in CHS with force-size=False [all …]
|
H A D | 103 | 4 # Test case for qcow2 metadata cache size specification 56 $QEMU_IO -c "open -o cache-size=1.25M,l2-cache-size=1M,refcount-cache-size=0.25M $TEST_IMG" \ 58 # l2-cache-size may not exceed cache-size 59 $QEMU_IO -c "open -o cache-size=1M,l2-cache-size=2M $TEST_IMG" 2>&1 \ 61 # refcount-cache-size may not exceed cache-size 62 $QEMU_IO -c "open -o cache-size=1M,refcount-cache-size=2M $TEST_IMG" 2>&1 \ 64 # 0 should be a valid size (e.g. for enforcing the minimum), so this should not 66 $QEMU_IO -c "open -o cache-size=0,l2-cache-size=0,refcount-cache-size=0 $TEST_IMG" \ 70 $QEMU_IO -c "open -o l2-cache-entry-size=256 $TEST_IMG" \ 72 $QEMU_IO -c "open -o l2-cache-entry-size=4242 $TEST_IMG" \ [all …]
|
H A D | 237.out | 3 …": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vmdk", "size": 0}}} 10 …guments": {"job-id": "job0", "options": {"driver": "vmdk", "file": "imgfile", "size": 5368709120}}} 17 virtual size: 5 GiB (5368709120 bytes) 25 virtual size: 5368709120 27 cluster size: 65536 32 …": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vmdk", "size": 0}}} 37 …{"driver": "file", "filename": "TEST_DIR/PID-t.vmdk"}, "hwversion": "4", "size": 67108864, "subfor… 44 virtual size: 64 MiB (67108864 bytes) 52 virtual size: 67108864 54 cluster size: 65536 [all …]
|
H A D | 243.out | 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 preallocation=off 6 File size: 196616 11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 preallocation=metadata 12 File size: 67436544 17 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 preallocation=falloc 18 File size: 67436544 23 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 preallocation=full 24 File size: 67436544 29 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data prealloca… 30 qcow2 file size: 196616 [all …]
|
H A D | 084.out | 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 8 virtual size: 64 MiB (67108864 bytes) 10 disk image file size in bytes: 67109888 12 === Testing image size bounds === 14 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 17 virtual size: 64 MiB (67108864 bytes) 19 disk image file size in bytes: 1024 20 Test 1: Maximum size (512 TB - 128 MB): 23 virtual size: 512 TiB (562949819203584 bytes) 26 Test 2: Size too large (512 TB - 128 MB + 64 kB) [all …]
|
H A D | 082.out | 6 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 lazy_refc… 9 virtual size: 128 MiB (134217728 bytes) 13 …qcow2', fmt=qcow2 cluster_size=4096 extended_l2=off compression_type=zlib size=134217728 lazy_refc… 16 virtual size: 128 MiB (134217728 bytes) 27 …qcow2', fmt=qcow2 cluster_size=8192 extended_l2=off compression_type=zlib size=134217728 lazy_refc… 30 virtual size: 128 MiB (134217728 bytes) 41 …qcow2', fmt=qcow2 cluster_size=8192 extended_l2=off compression_type=zlib size=134217728 lazy_refc… 44 virtual size: 128 MiB (134217728 bytes) 53 cluster_size=<size> - qcow2 cluster size 68 extent_size_hint=<size> - Extent size hint for the image file, 0 to disable [all …]
|
/qemu/hw/fsi/ |
H A D | trace-events | 1 fsi_scratchpad_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" 2 fsi_scratchpad_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d value=0x%… 3 fsi_slave_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" 4 fsi_slave_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d value=0x%"PRIx… 5 fsi_cfam_config_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" 6 fsi_cfam_config_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d value=0x… 7 fsi_cfam_unimplemented_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" 8 fsi_cfam_unimplemented_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d v… 9 fsi_cfam_config_write_noaddr(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d v… 10 fsi_master_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" [all …]
|
/qemu/tests/multiboot/ |
H A D | mmap.out | 10 0x0 - 0x9fc00: type 1 [entry size: 20] 11 0x9fc00 - 0xa0000: type 2 [entry size: 20] 12 0xf0000 - 0x100000: type 2 [entry size: 20] 13 0x100000 - 0x7fe0000: type 1 [entry size: 20] 14 0x7fe0000 - 0x8000000: type 2 [entry size: 20] 15 0xfffc0000 - 0x100000000: type 2 [entry size: 20] 28 0x0 - 0x9fc00: type 1 [entry size: 20] 29 0x9fc00 - 0xa0000: type 2 [entry size: 20] 30 0xf0000 - 0x100000: type 2 [entry size: 20] 31 0x100000 - 0x11a000: type 1 [entry size: 20] [all …]
|
/qemu/hw/misc/ |
H A D | trace-events | 5 …ucfg_read(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " … 6 …cfg_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " … 11 …m_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64… 12 …write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%" PRIx64… 13 …l_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64… 14 …write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%" PRIx64… 15 …y_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64… 16 …write(uint64_t offset, uint64_t data, unsigned size) "write: offset 0x%" PRIx64 " data 0x%" PRIx64… 25 …m_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64… 26 …write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%" PRIx64… [all …]
|
/qemu/docs/ |
H A D | qcow2-cache.txt | 24 A qcow2 file is organized in units of constant size called clusters. 26 The cluster size is configurable, but it must be a power of two and 30 The 'qemu-img create' command supports specifying the size using the 46 allocated in the image. Each table is one cluster in size. In order to 52 The size of the L2 cache can be configured, and setting the right 64 cluster in size and the number is also variable and dependent on the 67 Each block contains a number of refcount entries. Their size (in bits) 74 aforementioned L2 cache, and its size can also be configured. 101 image size (given that the default cluster size is used): 105 The refcount cache is 4 times the cluster size by default. With the default [all …]
|
/qemu/util/ |
H A D | bitops.c | 20 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() argument 27 if (offset >= size) { in find_next_bit() 28 return size; in find_next_bit() 30 size -= result; in find_next_bit() 35 if (size < BITS_PER_LONG) { in find_next_bit() 41 size -= BITS_PER_LONG; in find_next_bit() 44 while (size >= 4*BITS_PER_LONG) { in find_next_bit() 58 size -= 4*BITS_PER_LONG; in find_next_bit() 60 while (size >= BITS_PER_LONG) { in find_next_bit() 65 size -= BITS_PER_LONG; in find_next_bit() [all …]
|