diff options
| author | Paolo Bonzini | 2016-01-31 11:29:03 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-02-06 19:44:08 +0100 |
| commit | aa570d6fb6bd0402f27f151a76fb1762e26231ac (patch) | |
| tree | 72a395aaa63618c27fca222a02069a19e773bf09 /scripts | |
| parent | vring: slim down allocation of VirtQueueElements (diff) | |
| download | qemu-aa570d6fb6bd0402f27f151a76fb1762e26231ac.tar.gz qemu-aa570d6fb6bd0402f27f151a76fb1762e26231ac.tar.xz qemu-aa570d6fb6bd0402f27f151a76fb1762e26231ac.zip | |
virtio: combine the read of a descriptor
Compared to vring, virtio has a performance penalty of 10%. Fix it
by combining all the reads for a descriptor in a single address_space_read
call. This also simplifies the code nicely.
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 'scripts')
0 files changed, 0 insertions, 0 deletions
