From: Fam Zheng Date: Fri, 16 Oct 2015 10:46:04 +0000 (+0800) Subject: blkdebug: Don't confuse image as backing file X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6b826af7b010ed1963b1e7bfb5c389dcdbaff222;p=osstest%2Fqemu.git 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 Reviewed-by: Alberto Garcia Reviewed-by: Eric Blake Signed-off-by: Kevin Wolf --- diff --git a/block/blkdebug.c b/block/blkdebug.c index c1cb3cb1c..6860a2ba2 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) {