Home
last modified time | relevance | path

Searched hist:"3 d0e8743f0fca85e2d9b98924dcedaa5ab79db4d" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/block/
H A Dblock.hdiff 3d0e8743f0fca85e2d9b98924dcedaa5ab79db4d Thu Jun 10 07:05:35 CDT 2021 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> block: BDRVReopenState: drop replace_backing_bs field

It's used only in bdrv_reopen_commit(). "backing" is covered by the
loop through all children except for case when we removed backing child
during reopen.

Make it more obvious and drop extra boolean field: qdict_del will not
fail if there is no such entry.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210610120537.196183-8-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/
H A Dblock.cdiff 3d0e8743f0fca85e2d9b98924dcedaa5ab79db4d Thu Jun 10 07:05:35 CDT 2021 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> block: BDRVReopenState: drop replace_backing_bs field

It's used only in bdrv_reopen_commit(). "backing" is covered by the
loop through all children except for case when we removed backing child
during reopen.

Make it more obvious and drop extra boolean field: qdict_del will not
fail if there is no such entry.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210610120537.196183-8-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>