block/mirror: Add copy mode QAPI interface
commit481debaa3270fb276dcf27205aa27ad52cc34590
authorMax Reitz <mreitz@redhat.com>
Wed, 13 Jun 2018 18:18:22 +0000 (13 20:18 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 18 Jun 2018 15:05:16 +0000 (18 17:05 +0200)
tree828a046f1ff2088a9dc9e8e1dced5fe700e30a5c
parentd06107ade0ce74dc39739bac80de84b51ec18546
block/mirror: Add copy mode QAPI interface

This patch allows the user to specify whether to use active or only
background mode for mirror block jobs.  Currently, this setting will
remain constant for the duration of the entire block job.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20180613181823.13618-14-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/mirror.c
blockdev.c
include/block/block_int.h
qapi/block-core.json