]> git.proxmox.com Git - qemu.git/commit
qcow2: Fix error handling for immediate backing file read failure
authorKevin Wolf <kwolf@redhat.com>
Tue, 8 Feb 2011 17:12:35 +0000 (18:12 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Feb 2011 13:33:57 +0000 (14:33 +0100)
commit16e07bc282c3c2d560ae9c4e9db76106975495eb
tree5cf31b4892591d65af1d123d67f97e21500591be
parent607a375709625a439c5bbdbfb62f8052276d33ad
qcow2: Fix error handling for immediate backing file read failure

Requests could return success even though they failed when bdrv_aio_readv
returned NULL for a backing file read.

Reported-by: Chunqiang Tang <ctang@us.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 3ab4c7e92d39d40e6dc0bdb1c2320889543691cb)
block/qcow2.c