lkml.org 
[lkml]   [2011]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] Add grant references for fbfront/kbdfront
Date
This patchset is proposed for 2.6.39.

The patchset description from:
http://lists.colo.xensource.com/archives/html/xen-devel/2011-03/msg00381.html

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.

Changes since v1:
Updated xenstore key to "feature-grants"

Updated frontend patch has been sent to qemu-devel.


drivers/input/xen-kbdfront.c | 39 +++++++++----
drivers/video/xen-fbfront.c | 126 ++++++++++++++++++++++++++++++++++-------
2 files changed, 132 insertions(+), 33 deletions(-)

Daniel De Graaf (3):
xen-fbfront: Read width/height from backend
xen-kbdfront: Add grant reference for shared page
xen-fbfront: Use grant references when requested



\
 
 \ /
  Last update: 2011-03-15 15:13    [W:0.058 / U:2.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site