Searched hist:"160333 e1fef77ca6d4f7fde8f52bb0a944851104" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 160333e1fef77ca6d4f7fde8f52bb0a944851104 Wed Apr 28 10:17:56 CDT 2021 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> block: add bdrv_set_backing_noperm() transaction action
Split out no-perm part of bdrv_set_backing_hd() as a separate transaction action. Note the in case of existing BdrvChild we reuse it, not recreate, just to do less actions.
We don't need to create extra reference to backing_hd as we don't lose it in bdrv_attach_child().
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20210428151804.439460-29-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|