Re: [Qemu-devel] [PATCH] block: implement bdrv_co_is_allocated() boundary cases

2011-11-30 Thread Kevin Wolf
Am 29.11.2011 14:49, schrieb Stefan Hajnoczi: 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

[Qemu-devel] [PATCH] block: implement bdrv_co_is_allocated() boundary cases

2011-11-29 Thread Stefan Hajnoczi
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 wu...@linux.vnet.ibm.com