diff options
| author | Max Reitz <mreitz@redhat.com> | 2020-02-18 11:34:44 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2020-02-18 11:55:40 +0100 |
| commit | 810803a87ce88abd695f07f434d00e7cd1e122e2 (patch) | |
| tree | c1e440556e27331131cfd9a331c415953e90e48c /scripts/qapi/source.py | |
| parent | a3ed794b36a60f544efcf00d146b95e03a786954 (diff) | |
| download | focaccia-qemu-810803a87ce88abd695f07f434d00e7cd1e122e2.tar.gz focaccia-qemu-810803a87ce88abd695f07f434d00e7cd1e122e2.zip | |
block: Use bdrv_recurse_can_replace()
Let check_to_replace_node() use the more specialized bdrv_recurse_can_replace() instead of bdrv_recurse_is_first_non_filter(), which is too restrictive (or, in the case of quorum, sometimes not restrictive enough). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200218103454.296704-10-mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions