]> Git Repo - qemu.git/commit
block/qapi: Use blk_all_next() for query-block
authorKevin Wolf <[email protected]>
Tue, 11 Jul 2017 11:04:28 +0000 (13:04 +0200)
committerKevin Wolf <[email protected]>
Tue, 18 Jul 2017 13:14:36 +0000 (15:14 +0200)
commitd5b68844e6f7c13d30b46cc92ba468e5f92119a6
tree82919c5c1160952e1fd40347e9bfee4c772f2388
parenta429b9b5f44fb126b3a6ff971027470254401487
block/qapi: Use blk_all_next() for query-block

This patch replaces the blk_next() loop in query-block by a
blk_all_next() one so that we also get access to BlockBackends that
aren't owned by the monitor. For now, the next thing we do is check
whether each BB has a name, so there is no semantic difference.

Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: John Snow <[email protected]>
block/qapi.c
This page took 0.022315 seconds and 4 git commands to generate.