aboutsummaryrefslogtreecommitdiff
path: root/qom
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-01-31 11:29:03 +0100
committerMichael S. Tsirkin <mst@redhat.com>2016-02-06 20:44:08 +0200
commitaa570d6fb6bd0402f27f151a76fb1762e26231ac (patch)
tree72a395aaa63618c27fca222a02069a19e773bf09 /qom
parent5dba97ebdc92f1ac3c9ac27d8eac52ed2348fae1 (diff)
downloadqemu-aa570d6fb6bd0402f27f151a76fb1762e26231ac.zip
qemu-aa570d6fb6bd0402f27f151a76fb1762e26231ac.tar.gz
qemu-aa570d6fb6bd0402f27f151a76fb1762e26231ac.tar.bz2
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 'qom')
0 files changed, 0 insertions, 0 deletions