These address Kevin's review of the series which went in through Eric's block pull as 8b267376df87..28fafb3147f5: https://lore.kernel.org/qemu-devel/[email protected]/
Tested with a local qtest, not included: with a second scsi-hd sharing the new node, master reports CAPACITY DATA HAS CHANGED to that device after qom-set on the first one, and with patch 3 it does not. Signed-off-by: Denis V. Lunev <[email protected]> Cc: Kevin Wolf <[email protected]> Cc: Hanna Reitz <[email protected]> Cc: Eric Blake <[email protected]> Cc: Philippe Mathieu-Daudé <[email protected]> Denis V. Lunev (3): block: read the old child length after draining in bdrv_replace_child_bs() block: add bdrv_child_notify_resize() to notify a single parent block: notify only the replaced child in bdrv_replace_child_bs() block.c | 7 ++++--- block/io.c | 14 +++++++++++--- include/block/block_int-io.h | 8 +++++++- 3 files changed, 22 insertions(+), 7 deletions(-) base-commit: f71afb409a87c4ecd0f9d63a5963eb645dfab780 -- 2.53.0
