Patches applied successfully (
tree,
apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1602524605-481160-1-git-send-email-andrey.shinkevich@virtuozzo.com
Maintainers: Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, John Snow <jsnow@redhat.com>, Fam Zheng <fam@euphon.net>, Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>
block/copy-on-read.c | 171 ++++++++++++++++++++++++++++++++++++++---
block/copy-on-read.h | 35 +++++++++
block/io.c | 3 +-
block/monitor/block-hmp-cmds.c | 4 +-
block/stream.c | 112 ++++++++++++++++-----------
blockdev.c | 25 +++---
docs/system/deprecated.rst | 6 ++
include/block/block.h | 7 +-
include/block/block_int.h | 13 +++-
qapi/block-core.json | 6 ++
tests/qemu-iotests/030 | 51 ++----------
tests/qemu-iotests/030.out | 4 +-
tests/qemu-iotests/141.out | 2 +-
tests/qemu-iotests/245 | 19 +++--
14 files changed, 324 insertions(+), 134 deletions(-)
create mode 100644 block/copy-on-read.h