xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add grant references for fbfront/kbdfront
@ 2011-01-07 16:12 dgdegra
  2011-01-07 16:12 ` [PATCH 1/3] xen-fbfront: Read width/height from backend dgdegra
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: dgdegra @ 2011-01-07 16:12 UTC (permalink / raw)
  To: xen-devel

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.

[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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [PATCH] Add grant references for fbfront/kbdfront
@ 2011-03-15 14:11 Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 24+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-03-15 14:11 UTC (permalink / raw)
  To: linux-kernel, Jeremy Fitzhardinge, Dmitry Torokhov
  Cc: xen-devel, Konrad Rzeszutek Wilk, Stefano Stabellini,
	Ian Campbell, dgdegra

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2011-03-15 14:11 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-07 16:12 [PATCH] Add grant references for fbfront/kbdfront dgdegra
2011-01-07 16:12 ` [PATCH 1/3] xen-fbfront: Read width/height from backend dgdegra
2011-01-07 20:47   ` Ian Campbell
2011-01-07 21:30     ` Daniel De Graaf
2011-01-07 16:12 ` [PATCH 2/3] xen-fbfront: Use grant references when requested dgdegra
2011-01-07 20:44   ` Ian Campbell
2011-01-07 21:02     ` Daniel De Graaf
2011-01-07 21:41       ` Daniel De Graaf
2011-01-07 21:56       ` Ian Campbell
2011-01-07 16:12 ` [PATCH 3/3] xen-kbdfront: Add grant reference for shared page dgdegra
2011-01-07 16:51 ` [PATCH] Add grant references for fbfront/kbdfront Konrad Rzeszutek Wilk
2011-01-07 17:55   ` Daniel De Graaf
2011-01-07 18:28     ` Ian Campbell
2011-01-07 19:36       ` Daniel De Graaf
2011-01-07 20:44         ` Ian Campbell
2011-01-07 21:51           ` Daniel De Graaf
2011-01-07 22:09           ` [PATCH qemu] Support grant references in mapping Daniel De Graaf
2011-01-11 16:19             ` Ian Jackson
2011-02-25 15:01             ` Konrad Rzeszutek Wilk
2011-02-25 17:38               ` Stefano Stabellini
2011-01-07 19:21     ` [PATCH] Add grant references for fbfront/kbdfront Konrad Rzeszutek Wilk
2011-01-07 19:32       ` Daniel De Graaf
2011-01-07 19:51         ` Konrad Rzeszutek Wilk
  -- strict thread matches above, loose matches on Subject: below --
2011-03-15 14:11 Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).