On Thu, Nov 26, 2015 at 01:05:21PM +0800, Fam Zheng wrote: > @@ -1535,13 +1541,14 @@ static int64_t coroutine_fn > bdrv_co_get_block_status(BlockDriverState *bs, > } > } > > - if (bs->file && > + if (*file && *file != bs && > (ret & BDRV_BLOCK_DATA) && !(ret & BDRV_BLOCK_ZERO) && > (ret & BDRV_BLOCK_OFFSET_VALID)) {
What is the purpose of this change?
signature.asc
Description: PGP signature