qemu-e2k/hw/block
Paulina Szubarczyk b6eb9b45f7 qdisk - hw/block/xen_disk: grant copy implementation
Copy data operated on during request from/to local buffers to/from
the grant references.

Before grant copy operation local buffers must be allocated what is
done by calling ioreq_init_copy_buffers. For the 'read' operation,
first, the qemu device invokes the read operation on local buffers
and on the completion grant copy is called and buffers are freed.
For the 'write' operation grant copy is performed before invoking
write by qemu device.

A new value 'feature_grant_copy' is added to recognize when the
grant copy operation is supported by a guest.

Signed-off-by: Paulina Szubarczyk <paulinaszubarczyk@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
2016-09-27 18:18:55 -07:00
..
dataplane
block.c
cdrom.c
ecc.c
fdc.c portio: keep references on portio 2016-09-08 18:05:21 +04:00
hd-geometry.c
m25p80.c block: m25p80: Fix vmstate structure name 2016-09-06 19:52:18 +01:00
Makefile.objs
nand.c
nvme.c
nvme.h
onenand.c
pflash_cfi01.c
pflash_cfi02.c
tc58128.c
trace-events
virtio-blk.c virtio-blk: rename virtio_device_info to virtio_blk_info 2016-09-13 11:00:56 +01:00
xen_blkif.h
xen_disk.c qdisk - hw/block/xen_disk: grant copy implementation 2016-09-27 18:18:55 -07:00