This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH] Add grant references for fbfront/kbdfront

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Add grant references for fbfront/kbdfront
From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Date: Fri, 07 Jan 2011 14:36:04 -0500
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Fri, 07 Jan 2011 11:36:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1294424937.12280.0.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: National Security Agency
References: <1294416779-13833-1-git-send-email-dgdegra@xxxxxxxxxxxxx> <20110107165130.GC23825@xxxxxxxxxxxx> <4D27538C.2070600@xxxxxxxxxxxxx> <1294424937.12280.0.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7
On 01/07/2011 01:28 PM, Ian Campbell wrote:
> On Fri, 2011-01-07 at 17:55 +0000, Daniel De Graaf wrote: 
>> On 01/07/2011 11:51 AM, Konrad Rzeszutek Wilk wrote:
>>> On Fri, Jan 07, 2011 at 11:12:56AM -0500, dgdegra@xxxxxxxxxxxxx wrote:
>>>> This series fixes the interface for the fbfront and kbdfront devices,
>>>> which were storing MFNs in xenstore rather than creating grant table
>>>> entries. To maintain backwards compatibility, a different xenstore key
>>>> is used (page-gref instead of page-ref) and the use of grants must be
>>>> requested for fbfront (because two levels of page references are
>>>> embedded within the shared page). This makes it possible to move a
>>>> display server out of dom0 without giving the display domain full
>>>> access to other domain's memory.
>>> So these patches go on top of  xen/stable-2.6.32 tree right?
>> They apply to either 2.6.32 or 2.6.37; I have tested them on both.
> Are there matching backend patches somewhere?
> Ian.

Not yet, although it shouldn't be hard to modify the Xen backend
to use grants. This has been tested using a custom display server.

>>>> [PATCH 1/3] xen-fbfront: Read width/height from backend
>>>>    Note: Not directly related, just used by display server.
>>>> [PATCH 2/3] xen-fbfront: Use grant references when requested
>>>> [PATCH 3/3] xen-kbdfront: Add grant reference for shared page
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>> http://lists.xensource.com/xen-devel

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>