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/auyju4uLIBaCGPKH@redhat.com/
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 <den@openvz.org>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Hanna Reitz <hreitz@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
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