scripts/qmp-shell: use logging to show warnings
[qemu.git] / block / copy-on-read.h
blob7bf405dccd1f448a32abb25534c25e66a3e100de
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
26 #define BLOCK_COPY_ON_READ
28 #include "block/block_int.h"
30 void bdrv_cor_filter_drop(BlockDriverState *cor_filter_bs);
32 #endif /* BLOCK_COPY_ON_READ */