qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch] qemu iovec: keep track of total size, allow par


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]