All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch] qemu iovec: keep track of total size, allow partial copies.
Date: Mon, 26 Jan 2009 11:18:00 -0600	[thread overview]
Message-ID: <497DF048.8030802@us.ibm.com> (raw)
In-Reply-To: <4979B48A.2070003@redhat.com>

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	other threads:[~2009-01-26 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23 12:14 [Qemu-devel] [patch] qemu iovec: keep track of total size, allow partial copies Gerd Hoffmann
2009-01-26 17:18 ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=497DF048.8030802@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.