xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Grant access to more than one dom
@ 2014-04-17 14:58 Simon Martin
  2014-04-17 15:03 ` Ian Campbell
  0 siblings, 1 reply; 23+ messages in thread
From: Simon Martin @ 2014-04-17 14:58 UTC (permalink / raw)
  To: xen-devel

Hi all,

  The   system   I  am implementing has 2 domU: Windows, and realtime,
  and  I  need  to  share  memory  between  them. Originally I had the
  realtime  domU  produce  a  page  and which was then consumed by the
  Windows  domU,  however  given the way that the realtime domU works,
  this  can  terminate  and restart, which will destroy and invalidate
  the  shared  memory page.

  To  simplify  things I have written a simple little app that runs in
  dom0,  creates  the  shared  memory page(s) and then starts both the
  domUs.  If  either domU stops, it is automatically restarted, but as
  the shared memory belongs to dom0 it stays stable across restarts.

  However  I  now  need to share this grant between multiple domUs. As
  far as I can see the grant ref only allows access from a single dom.
  How do I work around this? It must be possible, otherwise all driver
  implementations would require a memcpy by dom0.

-- 
Best regards,
 Simon                          mailto:furryfuttock@gmail.com

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

end of thread, other threads:[~2014-06-10 18:48 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 14:58 Grant access to more than one dom Simon Martin
2014-04-17 15:03 ` Ian Campbell
2014-04-17 15:07   ` Simon Martin
2014-04-17 15:38   ` Simon Martin
2014-04-17 16:14     ` Ian Campbell
2014-04-17 16:57       ` Simon Martin
2014-04-17 17:16         ` Daniel De Graaf
2014-04-17 18:06           ` Simon Martin
2014-04-25 12:12             ` Simon Martin
2014-04-25 12:16               ` Ian Campbell
2014-04-25 12:18                 ` Simon Martin
2014-04-25 12:28                   ` Ian Campbell
2014-05-08 15:47             ` Simon Martin
2014-05-08 19:01               ` Daniel De Graaf
2014-05-08 20:03                 ` Simon Martin
2014-05-08 20:23                   ` Daniel De Graaf
2014-05-09 14:00                     ` Simon Martin
2014-06-05 16:10                       ` Simon Martin
2014-06-06  9:51                         ` Ian Campbell
2014-06-06 21:02                         ` Daniel De Graaf
2014-06-09 15:53                           ` Simon Martin
2014-06-09 17:15                             ` Daniel De Graaf
2014-06-10 18:48                               ` Simon Martin

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).