summaryrefslogtreecommitdiff
path: root/blockdev-nbd.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-08-23 09:14:49 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2013-09-06 15:25:08 +0200
commitc0777fe18b08c3a6de0c53325d6b9b75ebb9de9a (patch)
tree75fc7f7797752dae9210d8d89c2f5faca1db5189 /blockdev-nbd.c
parent8442cfd0346de849264494c5adedbac12553867e (diff)
downloadqemu-c0777fe18b08c3a6de0c53325d6b9b75ebb9de9a.tar.gz
xen_disk: simplify blk_disconnect with refcnt
We call bdrv_attach_dev when initializing whether or not bs is created locally, so call bdrv_detach_dev and let the refcnt handle the lifecycle. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions