qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PULL 29/29] blkdebug: Don't confuse image as backing file


From: Kevin Wolf
Subject: [Qemu-block] [PULL 29/29] blkdebug: Don't confuse image as backing file
Date: Fri, 16 Oct 2015 17:06:14 +0200

From: Fam Zheng <address@hidden>

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 <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
 block/blkdebug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/blkdebug.c b/block/blkdebug.c
index c1cb3cb..6860a2b 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) {
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]