qemu/include/sysemu
Max Reitz d8da3cef3b block: Add blk_remove_all_bs()
When bdrv_close_all() is called, instead of force-closing all root
BlockDriverStates, it is better to just drop the reference from all
BlockBackends and let them be closed automatically. This prevents BDS
from getting closed that are still referenced by other BDS, which may
result in loss of cached data.

This patch adds a function for doing that, but does not yet incorporate
it in bdrv_close_all().

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2016-02-02 17:50:46 +01:00
..
accel.h
arch_init.h
balloon.h
block-backend.h block: Add blk_remove_all_bs() 2016-02-02 17:50:46 +01:00
blockdev.h
bt.h
char.h char: remove qemu_chr_open_eventfd 2016-02-02 13:28:58 +01:00
cpus.h
device_tree.h
dma.h
dump-arch.h dump: allow target to set the physical base 2016-01-15 14:40:25 +00:00
dump.h dump: allow target to set the physical base 2016-01-15 14:40:25 +00:00
hostmem.h
iothread.h
kvm_int.h
kvm.h kvm: x86: add support for KVM_CAP_SPLIT_IRQCHIP 2015-12-17 17:33:47 +01:00
memory_mapping.h
numa.h
os-posix.h
os-win32.h oslib-win32: Change return type of function getpagesize 2015-11-30 06:47:02 +01:00
qtest.h
replay.h
rng-random.h
rng.h
seccomp.h
sysemu.h
tpm_backend_int.h
tpm_backend.h
tpm.h
watchdog.h watchdog: introduction of get_watchdog_action 2016-01-27 15:34:47 +01:00
xen-mapcache.h