Searched hist:bd9533e36ea3d6c964f65b8e407bad00dab59e5d (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff bd9533e36ea3d6c964f65b8e407bad00dab59e5d Tue Nov 29 07:49:51 CST 2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> block: implement bdrv_co_is_allocated() boundary cases
Cases beyond the end of the disk image are only implemented for block drivers that do not provide .bdrv_co_is_allocated(). It's worth making these cases generic so that block drivers that do implement .bdrv_co_is_allocated() also get them for free.
Suggested-by: Mark Wu <wudxw@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|