qemu-e2k/block
Markus Armbruster 9ba10c95a4 block: Make BlockBackend own its BlockDriverState
On BlockBackend destruction, unref its BlockDriverState.  Replaces the
callers' unrefs.

This turns the pointer from BlockBackend to BlockDriverState into a
strong reference, managed with bdrv_ref() / bdrv_unref().  The
back-pointer remains weak.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-10-20 13:41:26 +02:00
..
accounting.c block: Make the block accounting functions operate on BlockAcctStats 2014-09-10 10:41:29 +02:00
archipelago.c block/archipelago: Fix typo in qemu_archipelago_truncate() 2014-09-22 11:39:44 +01:00
backup.c
blkdebug.c blkdebug: show an error for invalid event names 2014-09-25 15:24:14 +02:00
blkverify.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
block-backend.c block: Make BlockBackend own its BlockDriverState 2014-10-20 13:41:26 +02:00
bochs.c block: Use g_new() & friends to avoid multiplying sizes 2014-08-20 11:51:28 +02:00
cloop.c cloop: Handle failure for potentially large allocations 2014-08-15 15:07:15 +02:00
commit.c
curl.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
dmg.c dmg: Handle failure for potentially large allocations 2014-08-15 15:07:15 +02:00
gluster.c block: don't convert file size to sector size 2014-09-12 15:43:06 +02:00
iscsi.c block: Split bdrv_new_root() off bdrv_new() 2014-10-20 13:41:26 +02:00
linux-aio.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
Makefile.objs block: New BlockBackend 2014-10-20 13:41:26 +02:00
mirror.c mirror: fix uninitialized variable delay_ns warnings 2014-08-28 13:42:25 +01:00
nbd-client.c
nbd-client.h
nbd.c nbd: Fix filename generation 2014-10-20 13:41:26 +02:00
nfs.c block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
null.c block: Introduce "null" drivers 2014-09-22 11:39:23 +01:00
parallels.c block: Use g_new() & friends to avoid multiplying sizes 2014-08-20 11:51:28 +02:00
qapi.c block: rename BlockAcctType members to start with BLOCK_ instead of BDRV_ 2014-09-10 10:41:29 +02:00
qcow2-cache.c qcow2: Use g_try_new0() for cache array 2014-08-20 11:51:28 +02:00
qcow2-cluster.c qcow2: Check L1/L2/reftable entries for alignment 2014-09-22 11:39:28 +01:00
qcow2-refcount.c qcow2: fix leak of Qcow2DiscardRegion in update_refcount_discard 2014-10-20 13:41:26 +02:00
qcow2-snapshot.c block: Use g_new() & friends where that makes obvious sense 2014-08-20 11:51:28 +02:00
qcow2.c qapi: Add corrupt field to ImageInfoSpecificQCow2 2014-10-04 19:18:17 +01:00
qcow2.h qcow2: Add overlap-check.template option 2014-09-22 11:39:34 +01:00
qcow.c block: don't convert file size to sector size 2014-09-12 15:43:06 +02:00
qed-check.c block: Use g_new() & friends to avoid multiplying sizes 2014-08-20 11:51:28 +02:00
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c
qed.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
qed.h
quorum.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
raw_bsd.c
raw-aio.h
raw-posix.c block/raw-posix: use seek_hole ahead of fiemap 2014-10-20 13:41:26 +02:00
raw-win32.c block: don't convert file size to sector size 2014-09-12 15:43:06 +02:00
rbd.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
sheepdog.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
snapshot.c
ssh.c ssh: Don't crash if either host or path is not specified. 2014-10-03 10:30:33 +01:00
stream.c
vdi.c block: round up file size to nearest sector 2014-09-12 15:43:06 +02:00
vhdx-endian.c
vhdx-log.c block: Drop some superfluous casts from void * 2014-08-20 11:51:28 +02:00
vhdx.c -----BEGIN PGP SIGNATURE----- 2014-09-23 12:08:55 +01:00
vhdx.h
vmdk.c vmdk: Fix integer overflow in offset calculation 2014-10-03 10:30:33 +01:00
vpc.c vpc: fix beX_to_cpu() and cpu_to_beX() confusion 2014-09-25 15:24:14 +02:00
vvfat.c block: Split bdrv_new_root() off bdrv_new() 2014-10-20 13:41:26 +02:00
win32-aio.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00