diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/qapi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/block/qapi.c b/block/qapi.c index c0e877e07e..563dd3185d 100644 --- a/block/qapi.c +++ b/block/qapi.c @@ -676,7 +676,9 @@ void bdrv_image_info_dump(fprintf_function func_fprintf, void *f, if (info->has_backing_filename) { func_fprintf(f, "backing file: %s", info->backing_filename); - if (info->has_full_backing_filename) { + if (info->has_full_backing_filename && + (strcmp(info->backing_filename, + info->full_backing_filename) != 0)) { func_fprintf(f, " (actual path: %s)", info->full_backing_filename); } func_fprintf(f, "\n"); |