OSDN Git Service

qemu-img: In "map", use the returned "file" from bdrv_get_block_status
authorFam Zheng <famz@redhat.com>
Tue, 26 Jan 2016 03:59:01 +0000 (11:59 +0800)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:50:47 +0000 (17:50 +0100)
commit9e4303400801e62e8e357decdb487834582459e8
tree0ff877e62094b5fc438213263a747b1be61de258
parentac987b30d0a97f14b82584921fc5ab3cd88c431b
qemu-img: In "map", use the returned "file" from bdrv_get_block_status

Now all drivers should return a correct "file", we can make use of it,
even with the recursion into backing chain above.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1453780743-16806-15-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-img.c