diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-04-28 14:27:49 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2015-04-28 15:36:17 +0200 |
| commit | 4f5472cb2d3d37ec3282cc3829612f9d696c2df7 (patch) | |
| tree | 9c20acb95e44dd9859dae9311a756f400171cd4e /hw/intc/omap_intc.c | |
| parent | 7237aecd7e8fcc3ccf7fded77b6c127b4df5d3ac (diff) | |
| download | focaccia-qemu-4f5472cb2d3d37ec3282cc3829612f9d696c2df7.tar.gz focaccia-qemu-4f5472cb2d3d37ec3282cc3829612f9d696c2df7.zip | |
block: replace bdrv_states iteration with bdrv_next()
The bdrv_states list is a static variable in block.c. bdrv_drain_all() and bdrv_flush_all() use this variable to iterate over all drives. The next patch will move bdrv_drain_all() and bdrv_flush_all() out of block.c so it's necessary to switch to the public bdrv_next() interface. Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions