summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorFam Zheng2018-07-10 08:31:20 +0200
committerKevin Wolf2018-07-10 16:01:52 +0200
commit7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059 (patch)
tree611c0b6972c8b24f6a45fd8e6762de92c27afbbd /include/exec
parentblock: Extract common write req handling (diff)
downloadqemu-7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059.tar.gz
qemu-7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059.tar.xz
qemu-7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059.zip
block: Fix handling of image enlarging write
Two problems exist when a write request that enlarges the image (i.e. write beyond EOF) finishes: 1) parent is not notified about size change; 2) dirty bitmap is not resized although we try to set the dirty bits; Fix them just like how bdrv_co_truncate works. Reported-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions