xemu/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
..
2016-05-19 16:45:31 +02:00
2016-05-18 15:04:27 +03:00
2016-05-12 14:06:42 -10:00
2016-02-23 12:43:05 +00:00
2016-05-18 15:04:27 +03:00
2016-05-18 15:04:27 +03:00
2016-02-23 12:43:05 +00:00
2016-05-18 15:04:27 +03:00
2016-05-19 16:45:31 +02:00
2016-02-23 12:43:05 +00:00
2015-02-16 15:07:19 +00:00
2015-02-05 17:16:14 +01:00