xref: /qemu/block/copy-on-read.h (revision 9275fc72)
116e09a21SAndrey Shinkevich /*
216e09a21SAndrey Shinkevich  * Copy-on-read filter block driver
316e09a21SAndrey Shinkevich  *
416e09a21SAndrey Shinkevich  * The filter driver performs Copy-On-Read (COR) operations
516e09a21SAndrey Shinkevich  *
616e09a21SAndrey Shinkevich  * Copyright (c) 2018-2020 Virtuozzo International GmbH.
716e09a21SAndrey Shinkevich  *
816e09a21SAndrey Shinkevich  * Author:
916e09a21SAndrey Shinkevich  *   Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
1016e09a21SAndrey Shinkevich  *
1116e09a21SAndrey Shinkevich  * This program is free software; you can redistribute it and/or modify
1216e09a21SAndrey Shinkevich  * it under the terms of the GNU General Public License as published by
1316e09a21SAndrey Shinkevich  * the Free Software Foundation; either version 2 of the License, or
1416e09a21SAndrey Shinkevich  * (at your option) any later version.
1516e09a21SAndrey Shinkevich  *
1616e09a21SAndrey Shinkevich  * This program is distributed in the hope that it will be useful,
1716e09a21SAndrey Shinkevich  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1816e09a21SAndrey Shinkevich  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1916e09a21SAndrey Shinkevich  * GNU General Public License for more details.
2016e09a21SAndrey Shinkevich  *
2116e09a21SAndrey Shinkevich  * You should have received a copy of the GNU General Public License
2216e09a21SAndrey Shinkevich  * along with this program. If not, see <http://www.gnu.org/licenses/>.
2316e09a21SAndrey Shinkevich  */
2416e09a21SAndrey Shinkevich 
259c092804SMarkus Armbruster #ifndef BLOCK_COPY_ON_READ_H
269c092804SMarkus Armbruster #define BLOCK_COPY_ON_READ_H
2716e09a21SAndrey Shinkevich 
2816e09a21SAndrey Shinkevich #include "block/block_int.h"
2916e09a21SAndrey Shinkevich 
309275fc72SKevin Wolf void no_coroutine_fn GRAPH_UNLOCKED
319275fc72SKevin Wolf bdrv_cor_filter_drop(BlockDriverState *cor_filter_bs);
3216e09a21SAndrey Shinkevich 
339c092804SMarkus Armbruster #endif /* BLOCK_COPY_ON_READ_H */
34