summaryrefslogtreecommitdiffstats
path: root/hw/arm/sysbus-fdt.c
diff options
context:
space:
mode:
authorPaulina Szubarczyk2016-09-14 21:10:03 +0200
committerStefano Stabellini2016-09-28 03:18:55 +0200
commitb6eb9b45f7307638ff166401721ae6d0401e1d67 (patch)
treec0e42cea87b692e4f7d69e262a25b6837ae91f89 /hw/arm/sysbus-fdt.c
parentMerge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into st... (diff)
downloadqemu-b6eb9b45f7307638ff166401721ae6d0401e1d67.tar.gz
qemu-b6eb9b45f7307638ff166401721ae6d0401e1d67.tar.xz
qemu-b6eb9b45f7307638ff166401721ae6d0401e1d67.zip
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>
Diffstat (limited to 'hw/arm/sysbus-fdt.c')
0 files changed, 0 insertions, 0 deletions