[PATCH] Add grant references for fbfront/kbdfront

From: Konrad Rzeszutek Wilk
Date: Tue Mar 15 2011 - 10:11:49 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/