From: Ian Campbell Subject: Re: [PATCH v5 8/9] ioreq-server: make buffered ioreq handling optional Date: Tue, 6 May 2014 11:52:49 +0100 Message-ID: <1399373569.3014.77.camel@kazak.uk.xensource.com> References: <1398946120-33169-1-git-send-email-paul.durrant@citrix.com> <1398946120-33169-9-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398946120-33169-9-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: Stefano Stabellini , Ian Jackson , Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-05-01 at 13:08 +0100, Paul Durrant wrote: > Some emulators will only register regions that require non-buffered > access. (In practice the only region that a guest uses buffered access > for today is the VGA aperture from 0xa0000-0xbffff). This patch therefore > makes allocation of the buffered ioreq page and event channel optional for > secondary ioreq servers. > > If a guest attempts buffered access to an ioreq server that does not > support it, the access will be handled via the normal synchronous path. > > Signed-off-by: Paul Durrant > Cc: Ian Jackson > Cc: Stefano Stabellini Tools portion: Acked-by: Ian Campbell with one small nit: > diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h > index 74aa2bf..60f6abc 100644 > --- a/tools/libxc/xenctrl.h > +++ b/tools/libxc/xenctrl.h > @@ -1801,6 +1801,7 @@ int xc_get_hvm_param(xc_interface *handle, domid_t dom, int param, unsigned long > */ IIRC there is a doc comment just above here which ought to list this new parameter. (those comments do fall rather into the trap of simply repeating the C don't they, but that does appear to be the prevailing style of many of them...) Ian.