block: Rename BLOCK_OP_TYPE_MIRROR to BLOCK_OP_TYPE_MIRROR_SOURCE
commit05e4d14bf308641c0c2888a6700f080fe40a074a
authorFam Zheng <famz@redhat.com>
Thu, 24 Dec 2015 04:45:02 +0000 (24 12:45 +0800)
committerMax Reitz <mreitz@redhat.com>
Thu, 7 Jan 2016 20:30:17 +0000 (7 21:30 +0100)
tree82b80d45ff5ddb0e657e7dfc1f9b4488d823eb9d
parentdd87de06fae54c7ac20722a1d617bea7613799da
block: Rename BLOCK_OP_TYPE_MIRROR to BLOCK_OP_TYPE_MIRROR_SOURCE

It's necessary to distinguish source and target before we can add
blockdev-mirror, because we would want a concrete type of operation to
check on target bs before starting.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1450932306-13717-2-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
blockdev.c
hw/block/dataplane/virtio-blk.c
include/block/block.h