diff options
| author | Alberto Garcia | 2018-06-29 13:37:01 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-08-15 12:50:39 +0200 |
| commit | 1bab38e7bd29347aca642c55a1de91ec6680efce (patch) | |
| tree | 91d7a0a5123aff8b29e1dac6ba6c10591475b388 /tests/qapi-schema/nested-struct-data.json | |
| parent | block: Remove children options from bs->{options,explicit_options} (diff) | |
| download | qemu-1bab38e7bd29347aca642c55a1de91ec6680efce.tar.gz qemu-1bab38e7bd29347aca642c55a1de91ec6680efce.tar.xz qemu-1bab38e7bd29347aca642c55a1de91ec6680efce.zip | |
block: Simplify bdrv_reopen_abort()
If a bdrv_reopen_multiple() call fails, then the explicit_options
QDict has to be deleted for every entry in the reopen queue. This must
happen regardless of whether that entry's bdrv_reopen_prepare() call
succeeded or not.
This patch simplifies the cleanup code a bit.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qapi-schema/nested-struct-data.json')
0 files changed, 0 insertions, 0 deletions
