qemu/include
Kevin Wolf dde33812a8 block: Add bdrv_has_blk()
In many cases we just want to know whether a BDS has at least one BB
attached, without needing to know the exact BB that is attached. In
contrast to bs->blk, this is still a valid question when more than one
BB can be attached, so just answer it by checking the parents list.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2016-05-19 16:45:31 +02:00
..
block block: Remove bdrv_aio_multiwrite() 2016-05-19 16:45:31 +02:00
crypto Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
disas disas: Add print_insn to disassemble info 2015-07-09 15:20:40 +02:00
exec tcg: Rework tb_invalidated_flag 2016-05-12 14:06:42 -10:00
fpu include: Clean up includes 2016-02-23 12:43:05 +00:00
hw Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
io Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
libdecnumber include: Clean up includes 2016-02-23 12:43:05 +00:00
migration migration (ordinary): move bdrv_invalidate_cache_all of of coroutine context 2016-02-26 20:39:50 +05:30
monitor Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
net Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
qapi qapi: Change visit_type_FOO() to no longer return partial objects 2016-05-12 09:47:55 +02:00
qemu Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
qom tcg: Remove needless CPUState::current_tb 2016-05-12 14:06:42 -10:00
standard-headers update Linux headers to 4.6 2016-04-05 11:46:52 +02:00
sysemu block: Add bdrv_has_blk() 2016-05-19 16:45:31 +02:00
ui spice/gl: add & use qemu_spice_gl_monitor_config 2016-05-12 16:41:46 +02:00
elf.h include: Clean up includes 2016-02-23 12:43:05 +00:00
glib-compat.h glib: add compatibility interface for g_hash_table_add() 2015-10-30 09:01:03 +01:00
qemu-common.h util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
trace.h trace: [tcg] Include event definitions in "trace.h" 2014-08-12 14:26:12 +01:00