diff --git a/block.c b/block.c index dd38e7139f..cb5737073f 100644 --- a/block.c +++ b/block.c @@ -1938,6 +1938,8 @@ void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd, bdrv_unref(backing_hd); } + bdrv_refresh_filename(bs); + out: bdrv_refresh_limits(bs, NULL); }