summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorStefan Hajnoczi2015-04-28 15:27:49 +0200
committerKevin Wolf2015-04-28 15:36:17 +0200
commit4f5472cb2d3d37ec3282cc3829612f9d696c2df7 (patch)
tree9c20acb95e44dd9859dae9311a756f400171cd4e /include/block
parentvmdk: Widen before shifting 32 bit header field (diff)
downloadqemu-4f5472cb2d3d37ec3282cc3829612f9d696c2df7.tar.gz
qemu-4f5472cb2d3d37ec3282cc3829612f9d696c2df7.tar.xz
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 'include/block')
0 files changed, 0 insertions, 0 deletions