|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [patch] qemu iovec: keep track of total size, allow partial copies. |
Date: | Mon, 26 Jan 2009 11:18:00 -0600 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Gerd Hoffmann wrote:
Hi, Keeping track of the total size is trivial for the helpers, and it allows buffer allocation without looping over the iovec once. qemu_iovec_from_buffer got a length parameter (number of bytes to copy) so we can handle partial reads correctly.
Applied. Thanks. Regards, Anthony Liguori
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |