commit | be959463afd3e257611d6b6ab98d24c0c94d4e3d | [log] [tgz] |
---|---|---|
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | Thu Feb 05 21:23:54 2009 +0000 |
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | Thu Feb 05 21:23:54 2009 +0000 |
tree | 71bba16628c40da3af95a8a05d9470fa26c8bd6e | |
parent | 244ab90e17e4feefbf35224d6d7bd96d394b4b26 [diff] |
Add qemu_iovec_reset() (Avi Kivity) Add a helper to zero out an existing iovec. Removes the need to deallocate and reallocate it. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6523 c046a42c-6fe2-441c-8c8c-71466251a162