diff options
author | Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> | 2020-12-16 09:16:53 +0300 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2021-01-26 11:26:54 +0100 |
commit | 16e09a21af7245abc82616010a96a48e637734db (patch) | |
tree | 49d8ad457052c438cea91ddf3c849d5c6867e395 /block/stream.c | |
parent | 8872ef78ab6d9cadfc9223bc3f3b8a1b86939bbc (diff) | |
download | qemu-16e09a21af7245abc82616010a96a48e637734db.zip qemu-16e09a21af7245abc82616010a96a48e637734db.tar.gz qemu-16e09a21af7245abc82616010a96a48e637734db.tar.bz2 |
copy-on-read: add filter drop function
Provide API for the COR-filter removal. Also, drop the filter child
permissions for an inactive state when the filter node is being
removed.
To insert the filter, the block generic layer function
bdrv_insert_node() can be used.
The new function bdrv_cor_filter_drop() may be considered as an
intermediate solution before the QEMU permission update system has
overhauled. Then we are able to implement the API function
bdrv_remove_node() on the block generic layer.
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20201216061703.70908-4-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/stream.c')
0 files changed, 0 insertions, 0 deletions