]> git.ipfire.org Git - thirdparty/qemu.git/commit - block.c
block: Add bdrv_set_backing_hd()
authorFam Zheng <famz@redhat.com>
Fri, 23 May 2014 13:29:45 +0000 (21:29 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 28 May 2014 12:28:46 +0000 (14:28 +0200)
commit8d24cce1e325c4bd47a8b1984d6db599f5a7a8e9
tree96c3f7d01cc9330337f3b79e3332632dd4c1d3c3
parent628ff683034c83ce54a1ae91d898d44e34f4851a
block: Add bdrv_set_backing_hd()

This is the common but non-trivial steps to assign or change the
backing_hd of BDS.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
include/block/block.h