Max Reitz d20418ee51 block/vdi: Limit maximum size even futher
The block layer read and write functions do not like requests which are
bigger than INT_MAX bytes. Since the VDI bmap is read and written in a
single operation, its size is therefore limited accordingly. This
reduces the maximum VDI image size supported by QEMU to half of what it
currently is (down to approximately 512 TB).

The VDI test 084 has to be adapted accordingly. Actually, one could
clearly see that it was broken from the "Could not open
'TEST_DIR/t.IMGFMT': Invalid argument" line for an image which was
supposed to work just fine.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
2014-11-09 23:39:50 +01:00
..
2012-04-19 15:48:52 +02:00
031
2014-06-27 20:00:00 +02:00
2013-08-30 15:48:43 +02:00
039
2014-06-27 20:00:00 +02:00
2014-10-23 15:34:01 +02:00
054
2014-06-27 20:00:00 +02:00
2014-10-23 15:34:01 +02:00
061
2014-11-03 11:41:49 +00:00
2014-11-03 11:41:49 +00:00
062
2013-08-30 15:28:52 +02:00
069
2014-09-22 11:39:45 +01:00
070
2014-10-04 19:18:17 +01:00
2014-10-04 19:18:17 +01:00
072
2014-09-22 11:39:45 +01:00
2014-01-22 12:07:18 +01:00
077
2014-02-09 09:12:38 +01:00
2014-01-24 17:40:25 +01:00
2014-04-11 13:59:49 +02:00
083
2014-06-27 20:00:01 +02:00
084
2014-11-09 23:39:50 +01:00
089
2014-05-28 14:28:46 +02:00
095
2014-10-04 19:18:17 +01:00
2014-10-04 19:18:17 +01:00
099
2014-09-22 11:39:45 +01:00
100
2014-08-29 14:10:15 +01:00
107
2014-11-03 11:41:48 +00:00
2014-06-27 20:00:00 +02:00
2014-06-27 20:00:00 +02:00
2014-06-24 20:01:24 +04:00
2012-02-23 10:29:46 +01:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@savannah.nongnu.org.