qapi: copy-on-read filter: add 'bottom' option
commite4c8fddde79d45b061d29e69bb564ea73d027a7a
authorAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Wed, 16 Dec 2020 06:16:55 +0000 (16 09:16 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 26 Jan 2021 10:26:54 +0000 (26 11:26 +0100)
tree37edc2592fdaf273e857a4d7e65c9c90cf24e531
parent880747a887a3c2ee022b7f610e54e08b84deb1af
qapi: copy-on-read filter: add 'bottom' option

Add an option to limit copy-on-read operations to specified sub-chain
of backing-chain, to make copy-on-read filter useful for block-stream
job.

Suggested-by: Max Reitz <mreitz@redhat.com>
Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
  [vsementsov: change subject, modified to freeze the chain,
   do some fixes]
Message-Id: <20201216061703.70908-6-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/copy-on-read.c
qapi/block-core.json