replication: Introduce new APIs to do replication operation
commit190b9a8b559385b733677224277f9050a0cf76f4
authorChanglong Xie <xiecl.fnst@cn.fujitsu.com>
Wed, 27 Jul 2016 07:01:49 +0000 (27 15:01 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 13 Sep 2016 10:00:56 +0000 (13 11:00 +0100)
tree8a6e53b802aba00948253572dfb347c3ca855fad
parenta6b1d4c081a38c5500fb02be6a4def45e43b0deb
replication: Introduce new APIs to do replication operation

This commit introduces six replication interfaces(for block, network etc).
Firstly we can use replication_(new/remove) to create/destroy replication
instances, then in migration we can use replication_(start/stop/do_checkpoint
/get_error)_all to handle all replication operations. More detail please
refer to replication.h

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
Signed-off-by: Wang WeiWei <wangww.fnst@cn.fujitsu.com>
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Message-id: 1469602913-20979-9-git-send-email-xiecl.fnst@cn.fujitsu.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Makefile.objs
qapi/block-core.json
replication.c [new file with mode: 0644]
replication.h [new file with mode: 0644]