diff options
author | Fam Zheng <famz@redhat.com> | 2015-10-16 18:46:04 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-10-16 15:35:48 +0200 |
commit | 6b826af7b010ed1963b1e7bfb5c389dcdbaff222 (patch) | |
tree | 340ff9d5e6dfbd8aabd9c65ee3a6ba67dbd11458 /block | |
parent | e394621fbda0d9f69df2c9eab73ad5a5189805bb (diff) |
blkdebug: Don't confuse image as backing file
The word "backing file" nowadays refers to the backing_hd in the
external snapshot sense (i.e. bs->backing_hd), instead of the file sense
(bs->file). Correct the comment to use the right term.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blkdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index c1cb3cb1ce..6860a2ba2f 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -426,7 +426,7 @@ static int blkdebug_open(BlockDriverState *bs, QDict *options, int flags, /* Set initial state */ s->state = 1; - /* Open the backing file */ + /* Open the image file */ bs->file = bdrv_open_child(qemu_opt_get(opts, "x-image"), options, "image", bs, &child_file, false, &local_err); if (local_err) { |