blockdev-backup: Use bdrv_lookup_bs on target
commit0d97891312d24891868e341674541f4147c7faf4
authorFam Zheng <famz@redhat.com>
Mon, 23 May 2016 02:19:35 +0000 (23 10:19 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 7 Jun 2016 13:40:50 +0000 (7 14:40 +0100)
tree1e033889f4e2af5c128e749046a74430bbf877de
parent271b385e7ec2f1ca23c5345599cd58d9651427e5
blockdev-backup: Use bdrv_lookup_bs on target

This allows backing up to a BDS that has not been attached to any BB.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1463969978-24970-2-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
blockdev.c