]> git.proxmox.com Git - mirror_qemu.git/commit
xen_disk: use a single entry iovec
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 17 May 2018 15:35:57 +0000 (16:35 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 22 May 2018 18:43:22 +0000 (11:43 -0700)
commit5ebf96265244e720d56367703a752f05010b7d55
treef426cf2a44b0477af95e01896277c693f6fb37d2
parenta68bf540f67feacbbd867196b3ce420e51d92a8c
xen_disk: use a single entry iovec

Since xen_disk now always copies data to and from a guest there is no need
to maintain a vector entry corresponding to every page of a request.
This means there is less per-request state to maintain so the ioreq
structure can shrink significantly.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony Perard <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/block/xen_disk.c