diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-31 11:29:03 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-02-06 20:44:08 +0200 |
commit | aa570d6fb6bd0402f27f151a76fb1762e26231ac (patch) | |
tree | 72a395aaa63618c27fca222a02069a19e773bf09 /translate-all.c | |
parent | 5dba97ebdc92f1ac3c9ac27d8eac52ed2348fae1 (diff) |
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 'translate-all.c')
0 files changed, 0 insertions, 0 deletions