diff options
| author | Vincenzo Maffione | 2016-01-31 11:29:06 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-02-06 19:44:08 +0100 |
| commit | 1cdd2ee54a61ed288e56bd57a649ec50a5a88e8b (patch) | |
| tree | 85f503768e3e57783637645c86cc2f3197ad6981 /linux-headers | |
| parent | virtio: read avail_idx from VQ only when necessary (diff) | |
| download | qemu-1cdd2ee54a61ed288e56bd57a649ec50a5a88e8b.tar.gz qemu-1cdd2ee54a61ed288e56bd57a649ec50a5a88e8b.tar.xz qemu-1cdd2ee54a61ed288e56bd57a649ec50a5a88e8b.zip | |
virtio: combine write of an entry into used ring
Fill in an element of the used ring with a single combined access to the
guest physical memory, rather than using two separated accesses.
This reduces the overhead due to expensive address translation.
Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
Message-Id: <e4a89a767a4a92cbb6bcc551e151487eb36e1722.1450218353.git.v.maffione@gmail.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions
