summary refs log tree commit diff stats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-02-07 17:29:20 +0100
committerKevin Wolf <kwolf@redhat.com>2018-02-13 12:27:17 +0100
commitcb2af9176fcb6b0b71bbac8c83498c4caa37ab05 (patch)
treed0200c3d14e51beb9df7d675fbbe102a5eab7af6 /qemu-io.c
parentde7269d293bc3a7fba98a0f12781eccb4ea4be1e (diff)
downloadfocaccia-qemu-cb2af9176fcb6b0b71bbac8c83498c4caa37ab05.tar.gz
focaccia-qemu-cb2af9176fcb6b0b71bbac8c83498c4caa37ab05.zip
block: early check for blockers on drive-mirror
Even if an op blocker is present for BLOCK_OP_TYPE_MIRROR_SOURCE,
it is checked a bit late and the result is that the target is
created even if drive-mirror subsequently fails.  Add an early
check to avoid this.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions