aboutsummaryrefslogtreecommitdiff
path: root/block/commit.c
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2016-10-28 10:08:07 +0300
committerKevin Wolf <kwolf@redhat.com>2016-10-31 16:52:38 +0100
commit058223a6e3b73cdf7f56b8d0a55032f99c5f11ac (patch)
treebba221f183b81882347e841060289002d2dd5037 /block/commit.c
parentb7340d002e1bcda6b7c07659a7e9d35842651476 (diff)
downloadqemu-058223a6e3b73cdf7f56b8d0a55032f99c5f11ac.zip
qemu-058223a6e3b73cdf7f56b8d0a55032f99c5f11ac.tar.gz
qemu-058223a6e3b73cdf7f56b8d0a55032f99c5f11ac.tar.bz2
block: Check blockers in all nodes involved in a block-commit job
qmp_block_commit() checks for op blockers in the active and destination (base) images. However all nodes between top_bs and base are also involved, and they are removed from the chain afterwards. In addition to that, if top_bs is not the active layer then top_bs's overlay also needs to be checked because it's involved in the job (its backing image string needs to be updated to point to 'base'). This patch checks that none of those nodes are blocked. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions