All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	"Keir (Xen.org)" <keir@xen.org>, Jan Beulich <JBeulich@suse.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 3 of 5] tools/libxc: Implement of xc_readconsolering_buffer
Date: Thu, 21 Feb 2013 11:07:06 +0000	[thread overview]
Message-ID: <5125FFDA.2070008@citrix.com> (raw)
In-Reply-To: <1361440867.26546.44.camel@zakaz.uk.xensource.com>

On 21/02/13 10:01, Ian Campbell wrote:
> On Wed, 2013-02-20 at 18:05 +0000, Andrew Cooper wrote:
>> Functions identically to xc_readconsolering(), but uses a user-provided
>> xc_hypercall_buffer_t to save using a bounce buffer.
> Can we now trivially reimplement xc_readconsolering in terms of this
> function?
>
> Should just be a case of replacing all the code between bounce_pre and
> bounce_post with a call
> 	xc_readconsolering_buffer(xch, HYPERCALL_BUFFER_AS_ARG(buffer),
>                                   pnr_chars, clear, incremental, pindex);
> ?

Ok

>
> We should probably also deprecate the old one and at least have a vague
> idea that we might eventually switch all the callers over (you don't
> need to here though, unless you are super keen).
>
> Ian.
>

Depending on the quantity of callers, I may or may not due to time.

~Andrew

  reply	other threads:[~2013-02-21 11:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-20 18:05 [PATCH 0 of 5] tools: console ring fixes Andrew Cooper
2013-02-20 18:05 ` [PATCH 1 of 5] common/sysctl: Introduce hypercall to query the console ring size Andrew Cooper
2013-02-20 18:05 ` [PATCH 2 of 5] tools/libxc: Helper function for XEN_SYSCTL_consoleringsize Andrew Cooper
2013-02-20 18:05 ` [PATCH 3 of 5] tools/libxc: Implement of xc_readconsolering_buffer Andrew Cooper
2013-02-21 10:01   ` Ian Campbell
2013-02-21 11:07     ` Andrew Cooper [this message]
2013-02-20 18:05 ` [PATCH 4 of 5] tools/ocaml: libxc bindings: Fix stub_xc_readconsolering() Andrew Cooper
2013-02-21 10:14   ` Ian Campbell
2013-02-21 11:12     ` Andrew Cooper
2013-02-20 18:05 ` [PATCH 5 of 5] tools/ocaml: libxc bindings: Fix failwith_xc() Andrew Cooper

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=5125FFDA.2070008@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xen.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.