summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2021-06-10 14:05:33 +0200
committerKevin Wolf2021-06-29 16:51:00 +0200
commitcbfdb98ce21532e6705fdbf324583f99602e183a (patch)
tree8b5167f2aea364fc0fdedcf8cf66be9e0f8b1dd9 /tests
parentblock: bdrv_reopen_parse_backing(): don't check frozen child (diff)
downloadqemu-cbfdb98ce21532e6705fdbf324583f99602e183a.tar.gz
qemu-cbfdb98ce21532e6705fdbf324583f99602e183a.tar.xz
qemu-cbfdb98ce21532e6705fdbf324583f99602e183a.zip
block: bdrv_reopen_parse_backing(): simplify handling implicit filters
The logic around finding overlay here is not obvious. Actually it does two simple things: 1. If new bs is already in backing chain, split from parent bs by several implicit filters we are done, do nothing. 2. Otherwise, don't try to replace implicit filter. Let's rewrite this in more obvious way. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20210610120537.196183-6-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions