hw/i386/sgx: Use QDev API
[qemu/armbru.git] / block / copy-on-read.h
blob72f9b378eaba6420c4a88c9959f0ac6f9b00e0be
1 /*
2 * Copy-on-read filter block driver
4 * The filter driver performs Copy-On-Read (COR) operations
6 * Copyright (c) 2018-2020 Virtuozzo International GmbH.
8 * Author:
9 * Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
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.
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.
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/>.
25 #ifndef BLOCK_COPY_ON_READ_H
26 #define BLOCK_COPY_ON_READ_H
28 #include "block/block_int.h"
30 void no_coroutine_fn GRAPH_UNLOCKED
31 bdrv_cor_filter_drop(BlockDriverState *cor_filter_bs);
33 #endif /* BLOCK_COPY_ON_READ_H */