Home
last modified time | relevance | path

Searched hist:cbfdb98ce21532e6705fdbf324583f99602e183a (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff cbfdb98ce21532e6705fdbf324583f99602e183a Thu Jun 10 07:05:33 CDT 2021 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> 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>