]> git.proxmox.com Git - mirror_qemu.git/commit
posix-aio-compat: Allow read after EOF
authorKevin Wolf <kwolf@redhat.com>
Mon, 25 Jul 2011 17:42:37 +0000 (19:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 2 Aug 2011 13:53:41 +0000 (15:53 +0200)
commitba1d1afdfeeb5ec6cbfd0052ab298d9b7cb7e5ba
treeef588f40db43bf62d0ba098b6a99b4b69888d68e
parente680cfa7e20f5049c475ac94f998a79c9997b48d
posix-aio-compat: Allow read after EOF

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 <kwolf@redhat.com>
posix-aio-compat.c