diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-04-28 18:17:56 +0300 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2021-04-30 12:27:48 +0200 |
| commit | 160333e1fef77ca6d4f7fde8f52bb0a944851104 (patch) | |
| tree | 0c9a6d56c3b592e365a98b3e606de48efc33dcf8 /hw/misc/mst_fpga.c | |
| parent | 1e4c797c759dea15a3d426f655532968d3973028 (diff) | |
| download | focaccia-qemu-160333e1fef77ca6d4f7fde8f52bb0a944851104.tar.gz focaccia-qemu-160333e1fef77ca6d4f7fde8f52bb0a944851104.zip | |
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>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions