summary refs log tree commit diff stats
path: root/python/qemu
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-07-19 11:26:16 +0200
committerKevin Wolf <kwolf@redhat.com>2019-07-19 13:19:17 +0200
commit61ad631cee21f878540681274fe0f53e7ee9f59e (patch)
treec59608a886e4c76f8673308de57996b11bddf017 /python/qemu
parent2afdc790ec0e5cb61d2f738adafa93f990ca553d (diff)
downloadfocaccia-qemu-61ad631cee21f878540681274fe0f53e7ee9f59e.tar.gz
focaccia-qemu-61ad631cee21f878540681274fe0f53e7ee9f59e.zip
block: Loop unsafely in bdrv*drained_end()
The graph must not change in these loops (or a QLIST_FOREACH_SAFE would
not even be enough).  We now ensure this by only polling once in the
root bdrv_drained_end() call, so we can drop the _SAFE suffix.  Doing so
makes it clear that the graph must not change.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python/qemu')
0 files changed, 0 insertions, 0 deletions