From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH] Add grant references for fbfront/kbdfront Date: Tue, 15 Mar 2011 10:11:11 -0400 Message-ID: <1300198274-1325-1-git-send-email-konrad.wilk@oracle.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: linux-kernel@vger.kernel.org, Jeremy Fitzhardinge , Dmitry Torokhov Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk , Stefano Stabellini , Ian Campbell , dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org 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