block: Extract blockdev part of qmp_drive_mirror
commit4193cdd7718e69589af82aca44c39266e753af14
authorFam Zheng <famz@redhat.com>
Thu, 24 Dec 2015 04:45:03 +0000 (24 12:45 +0800)
committerMax Reitz <mreitz@redhat.com>
Thu, 7 Jan 2016 20:30:18 +0000 (7 21:30 +0100)
treec37918e1831ba8f5ebfc8093677ab3a773708973
parent05e4d14bf308641c0c2888a6700f080fe40a074a
block: Extract blockdev part of qmp_drive_mirror

This is the part that will be reused by blockdev-mirror.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1450932306-13717-3-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
blockdev.c