Re: [Qemu-devel] [PATCH 09/10] posix-aio-compat: Allow read after EOF

2011-07-26 Thread Kevin Wolf
Am 26.07.2011 15:55, schrieb Frediano Ziglio: > 2011/7/26 Kevin Wolf : >> In order to be able to transparently replace bdrv_read calls by bdrv_co_read, >> reading beyond EOF must produce zeros instead of short reads for AIO, too. >> >> Signed-off-by: Kevin Wolf >> --- >> posix-aio-compat.c | 19

Re: [Qemu-devel] [PATCH 09/10] posix-aio-compat: Allow read after EOF

2011-07-26 Thread Frediano Ziglio
2011/7/26 Kevin Wolf : > In order to be able to transparently replace bdrv_read calls by bdrv_co_read, > reading beyond EOF must produce zeros instead of short reads for AIO, too. > > Signed-off-by: Kevin Wolf > --- >  posix-aio-compat.c |   19 +++ >  1 files changed, 19 insertions

[Qemu-devel] [PATCH 09/10] posix-aio-compat: Allow read after EOF

2011-07-26 Thread Kevin Wolf
In order to be able to transparently replace bdrv_read calls by bdrv_co_read, reading beyond EOF must produce zeros instead of short reads for AIO, too. Signed-off-by: Kevin Wolf --- posix-aio-compat.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/po