summaryrefslogtreecommitdiffstats
path: root/target-s390x/int_helper.c
diff options
context:
space:
mode:
authorFam Zheng2013-08-23 03:14:49 +0200
committerStefan Hajnoczi2013-09-06 15:25:08 +0200
commitc0777fe18b08c3a6de0c53325d6b9b75ebb9de9a (patch)
tree75fc7f7797752dae9210d8d89c2f5faca1db5189 /target-s390x/int_helper.c
parentmigration: omit drive ref as we have bdrv_ref now (diff)
downloadqemu-c0777fe18b08c3a6de0c53325d6b9b75ebb9de9a.tar.gz
qemu-c0777fe18b08c3a6de0c53325d6b9b75ebb9de9a.tar.xz
qemu-c0777fe18b08c3a6de0c53325d6b9b75ebb9de9a.zip
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 'target-s390x/int_helper.c')
0 files changed, 0 insertions, 0 deletions