On Tue, Feb 22, 2011 at 3:11 PM, Kevin Wolf <kw...@redhat.com> wrote: > Am 22.02.2011 16:02, schrieb Stefan Hajnoczi: >> Why are we even allowing requests that extend beyond the end of the >> device? Is the LVM volume marked growable in the QEMU block layer? > > Might well be a qcow2 on LVM case that Jes was debugging.
Yes it is. It doesn't explain it though. The code involved here is linux-aio.c and will be qcow2's bs->file. That ought to be a host_device and AFAIK that is not growable. So I wanted to figure out why we're even getting this far. I expected the request to get rejected in block.c when checking the range against the host_device. Stefan