Re: [Qemu-devel] [PATCH] block/vdi: Limit maximum size even futher

2014-10-27 Thread Max Reitz
On 2014-10-27 at 12:39, Max Reitz wrote: On 2014-10-27 at 12:10, Peter Lieven wrote: On 27.10.2014 11:56, Max Reitz wrote: 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

Re: [Qemu-devel] [PATCH] block/vdi: Limit maximum size even futher

2014-10-27 Thread Max Reitz
On 2014-10-27 at 12:10, Peter Lieven wrote: On 27.10.2014 11:56, Max Reitz wrote: 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 reduc

Re: [Qemu-devel] [PATCH] block/vdi: Limit maximum size even futher

2014-10-27 Thread Peter Lieven
On 27.10.2014 11:56, Max Reitz wrote: 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 QE

[Qemu-devel] [PATCH] block/vdi: Limit maximum size even futher

2014-10-27 Thread Max Reitz
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