Re: [Qemu-devel] [PATCH 3/4] qed: Make qiov match request size until backing file EOF

2014-07-08 Thread Kevin Wolf
Am 05.07.2014 um 22:06 hat Max Reitz geschrieben: On 04.07.2014 17:55, Kevin Wolf wrote: If a QED image has a shorter backing file and a read request to unallocated clusters goes across EOF of the backing file, the backing file sees a shortened request and the rest is filled with zeros.

Re: [Qemu-devel] [PATCH 3/4] qed: Make qiov match request size until backing file EOF

2014-07-05 Thread Max Reitz
On 04.07.2014 17:55, Kevin Wolf wrote: If a QED image has a shorter backing file and a read request to unallocated clusters goes across EOF of the backing file, the backing file sees a shortened request and the rest is filled with zeros. However, the original too long qiov was used with the

[Qemu-devel] [PATCH 3/4] qed: Make qiov match request size until backing file EOF

2014-07-04 Thread Kevin Wolf
If a QED image has a shorter backing file and a read request to unallocated clusters goes across EOF of the backing file, the backing file sees a shortened request and the rest is filled with zeros. However, the original too long qiov was used with the shortened request. This patch makes the qiov