Kevin Wolf 80ee15a6b2 qcow2: Increase maximum cluster size to 2 MB
This patch increases the maximum qcow2 cluster size to 2 MB. Starting with 128k
clusters, L2 tables span 2 GB or more of virtual disk space, causing 32 bit
truncation and wraparound of signed integers. Therefore some variables need to
use a larger data type.

While being at reviewing data types, change some integers that are used for
array indices to unsigned. In some places they were checked against some upper
limit but not for negative values. This could avoid potential segfaults with
corrupted qcow2 images.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-10-05 09:32:52 -05:00
2009-10-04 15:02:44 +02:00
2009-10-01 16:12:16 -05:00
2009-10-05 09:32:47 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-02 17:59:10 +00:00
2009-10-02 19:46:31 +00:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2009-09-25 19:53:21 +00:00
2009-10-05 09:32:44 -05:00
2009-10-01 16:12:16 -05:00
2009-09-11 10:19:46 -05:00
2009-09-12 07:36:22 +00:00
2009-09-11 10:19:46 -05:00
2009-09-04 09:37:34 -05:00
2009-09-19 18:43:44 +02:00
2009-10-01 16:12:16 -05:00
2009-10-05 09:32:44 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-12 07:36:22 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-20 06:56:26 +00:00
2009-10-05 09:32:44 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-12 07:36:22 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-05 09:32:45 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-20 16:19:32 +00:00
2009-08-27 19:33:15 -05:00
2009-07-30 09:50:36 -05:00
2009-08-24 08:01:42 -05:00
2009-09-12 07:36:22 +00:00
2009-10-01 16:12:16 -05:00
2009-09-04 09:37:30 -05:00
2009-10-05 09:32:44 -05:00
2009-09-12 07:36:22 +00:00
2009-08-15 07:51:59 +00:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2009-09-11 10:19:49 -05:00
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
2009-10-05 09:32:48 -05:00
2009-10-01 16:12:16 -05:00
2009-09-20 07:51:06 +00:00
2009-10-05 09:32:45 -05:00
2009-09-12 07:36:22 +00:00
2009-09-12 09:58:51 +00:00
2009-07-22 10:58:49 -05:00
2009-10-05 09:32:45 -05:00
2009-09-04 09:37:29 -05:00
2009-09-04 09:37:29 -05:00
2009-09-04 09:37:29 -05:00
2009-09-09 17:31:24 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-25 19:53:21 +00:00
2009-09-13 19:38:43 +00:00
2009-10-05 09:32:49 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-25 17:40:16 +02:00
2009-07-16 18:12:18 -05:00
2009-10-05 09:32:49 -05:00
2009-10-01 16:12:16 -05:00
2009-09-25 18:26:59 +02:00
2009-10-01 16:12:16 -05:00
2009-08-10 13:05:30 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%