diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-17 16:09:59 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-01-13 11:47:56 +0000 |
commit | e012b78cf5bc42f20ef1a1f78383035f2293ceea (patch) | |
tree | e4f047daaccf6c044eba955e7f68250902f2ff01 /util/iov.c | |
parent | fcf5def1ab0f94ff120b7141c943b517d2ece83d (diff) | |
download | qemu-e012b78cf5bc42f20ef1a1f78383035f2293ceea.tar.gz qemu-e012b78cf5bc42f20ef1a1f78383035f2293ceea.tar.bz2 qemu-e012b78cf5bc42f20ef1a1f78383035f2293ceea.zip |
block: do not allocate an iovec per read of a growable/zero_after_eof BDS
Most reads do not go past the end of the file, and they can use the
input QEMUIOVector instead of creating one. This removes the
qemu_iovec_* functions from the profile.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util/iov.c')
0 files changed, 0 insertions, 0 deletions