On 08/05/11 13:30, Kevin Wolf wrote:
Am 04.08.2011 17:10, schrieb Gerd Hoffmann:
Fill the spefified area with zeros.
Signed-off-by: Gerd Hoffmann
Looks like we're starting to duplicate everything in qemu_iovec_* and
iov_*...
Any reason not to use QEMUIOVector?
I *do* use QEMUIOVector, but
Am 04.08.2011 17:10, schrieb Gerd Hoffmann:
> Fill the spefified area with zeros.
>
> Signed-off-by: Gerd Hoffmann
Looks like we're starting to duplicate everything in qemu_iovec_* and
iov_*...
Any reason not to use QEMUIOVector?
Kevin
Fill the spefified area with zeros.
Signed-off-by: Gerd Hoffmann
---
iov.c | 23 +++
iov.h |2 ++
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/iov.c b/iov.c
index 60553c7..e7385c4 100644
--- a/iov.c
+++ b/iov.c
@@ -62,6 +62,29 @@ size_t iov_to_buf(con