Home
last modified time | relevance | path

Searched hist:"74 ad9a3b4da3bc2475c765d1926c655e9f8a0a20" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff 74ad9a3b4da3bc2475c765d1926c655e9f8a0a20 Fri Nov 06 06:42:39 CST 2020 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> block: bdrv_set_perm() drop redundant parameters.

We should never set permissions other than cumulative permissions of
parents. During bdrv_reopen_multiple() we _check_ for synthetic
permissions but when we do _set_ the graph is already updated.
Add an assertion to bdrv_reopen_multiple(), other cases are more
obvious.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20201106124241.16950-6-vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>