]> git.proxmox.com Git - mirror_qemu.git/commit - include/block/block_int.h
block: Add list of all BlockDriverStates
authorMax Reitz <mreitz@redhat.com>
Fri, 29 Jan 2016 15:36:11 +0000 (16:36 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:50:46 +0000 (17:50 +0100)
commit2c1d04e002dc91a6f34e8e683ea6b84f61a0b9fd
tree677180fbee371dbf0aa97a28b0705a4f0b4274f1
parent64dff52019367194699a772e3cc31941fd9752a8
block: Add list of all BlockDriverStates

We need this list so that bdrv_close_all() can keep track of which BDSs
are still open after having removed the BDSs from all of the BBs and
having released all monitor BDS references.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
include/block/block_int.h