summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYaowei Bai2016-09-14 13:03:38 +0200
committerStefan Hajnoczi2016-09-28 12:21:46 +0200
commite7e4f9f950253ce5fb03f569868a21d6d7e3f8a2 (patch)
tree31936a08dd092f3a253dd9771c74161b9248419d /include
parentMerge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into st... (diff)
downloadqemu-e7e4f9f950253ce5fb03f569868a21d6d7e3f8a2.tar.gz
qemu-e7e4f9f950253ce5fb03f569868a21d6d7e3f8a2.tar.xz
qemu-e7e4f9f950253ce5fb03f569868a21d6d7e3f8a2.zip
block: mirror: fix wrong comment of mirror_start
Obviously, we should write to '@target'. Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com> Reviewed-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1473851019-7005-2-git-send-email-baiyaowei@cmss.chinamobile.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/block_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index ef3c047cb3..3e79228eb0 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -722,7 +722,7 @@ void commit_active_start(const char *job_id, BlockDriverState *bs,
* @errp: Error object.
*
* Start a mirroring operation on @bs. Clusters that are allocated
- * in @bs will be written to @bs until the job is cancelled or
+ * in @bs will be written to @target until the job is cancelled or
* manually completed. At the end of a successful mirroring job,
* @bs will be switched to read from @target.
*/