summaryrefslogtreecommitdiffstats
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorKevin Wolf2017-02-09 12:46:27 +0100
committerKevin Wolf2017-02-28 20:40:37 +0100
commitdd65a52e4aa4a0adfedf0ed9a35da1960f359fe1 (patch)
tree1cc07eaca633931941cc5b8f7c7de15ad328ad81 /cpu-exec.c
parentbackup: Use real permissions in backup block job (diff)
downloadqemu-dd65a52e4aa4a0adfedf0ed9a35da1960f359fe1.tar.gz
qemu-dd65a52e4aa4a0adfedf0ed9a35da1960f359fe1.tar.xz
qemu-dd65a52e4aa4a0adfedf0ed9a35da1960f359fe1.zip
block: Fix pending requests check in bdrv_append()
bdrv_append() cares about isolation of the node that it modifies, but not about activity in some subtree below it. Instead of using the recursive bdrv_requests_pending(), directly check bs->in_flight, which considers only the node in question. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Acked-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions