xref: /openbmc/qemu/block/copy-on-read.h (revision 7200fb21)
1 /*
2  * Copy-on-read filter block driver
3  *
4  * The filter driver performs Copy-On-Read (COR) operations
5  *
6  * Copyright (c) 2018-2020 Virtuozzo International GmbH.
7  *
8  * Author:
9  *   Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program. If not, see <http://www.gnu.org/licenses/>.
23  */
24 
25 #ifndef BLOCK_COPY_ON_READ_H
26 #define BLOCK_COPY_ON_READ_H
27 
28 #include "block/block_int.h"
29 
30 void no_coroutine_fn GRAPH_UNLOCKED
31 bdrv_cor_filter_drop(BlockDriverState *cor_filter_bs);
32 
33 #endif /* BLOCK_COPY_ON_READ_H */
34