diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2017-07-11 13:04:28 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2017-07-18 15:14:36 +0200 |
| commit | d5b68844e6f7c13d30b46cc92ba468e5f92119a6 (patch) | |
| tree | 82919c5c1160952e1fd40347e9bfee4c772f2388 /hw/ide/qdev.c | |
| parent | a429b9b5f44fb126b3a6ff971027470254401487 (diff) | |
| download | focaccia-qemu-d5b68844e6f7c13d30b46cc92ba468e5f92119a6.tar.gz focaccia-qemu-d5b68844e6f7c13d30b46cc92ba468e5f92119a6.zip | |
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 <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/ide/qdev.c')
0 files changed, 0 insertions, 0 deletions