diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-11-29 13:49:51 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-12-05 14:51:39 +0100 |
commit | bd9533e36ea3d6c964f65b8e407bad00dab59e5d (patch) | |
tree | 188ed325e113e99cf4921ccdba1affe0e3f453b6 /qemu-char.c | |
parent | c57c465800a9d193f9b41c97dbbbb6cd4fb08ff6 (diff) | |
download | qemu-bd9533e36ea3d6c964f65b8e407bad00dab59e5d.zip qemu-bd9533e36ea3d6c964f65b8e407bad00dab59e5d.tar.gz qemu-bd9533e36ea3d6c964f65b8e407bad00dab59e5d.tar.bz2 |
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>
Diffstat (limited to 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions