WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] PIO from domU

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] PIO from domU
From: "Vadim Makhervaks" <vmakhervaks@xxxxxxxxxxxxx>
Date: Wed, 23 Nov 2005 16:01:35 -0600
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Wed, 23 Nov 2005 22:01:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXvpIwWrd0YY2veQ0KFPEn7VqAgCwAATDggADSVCLA=
Thread-topic: [Xen-users] PIO from domU
Thanks, hack worked for me, for now; of course it would be really nice
to have a real and protected interface for such operation. 

What do you envision to be a proper solution for this problem? Something
along the lines of module running in domO capable grant access or
transfer IO pages ownership to domU? Similar to existing grant_table
interface?

Vadim


-----Original Message-----
From: Ian Pratt [mailto:m+Ian.Pratt@xxxxxxxxxxxx] 
Sent: Tuesday, November 22, 2005 3:09 PM
To: Vadim Makhervaks; xen-users@xxxxxxxxxxxxxxxxxxx
Cc: ian.pratt@xxxxxxxxxxxx
Subject: RE: [Xen-users] PIO from domU

> We're looking on sharing iWARP adapter by multiple guest 
> domains, and having a direct adapter access.
>  
> Does Xen/dom0 have a mechanism to map a page from adapter PCI 
> address space to the domU memory space, and make it 
> accessible by kernel/user space consumers running in domU?

Although Xen2 had this feature, the control API for it is currently
missing from xen3, but will be added back later. To enable you to make
progress with developing the rest of the s/w stack its probably easiest
to hack xen's get_page_from_l1e so that it allows any domain to map IO
memory (we'll fix this up properly in due course, allowing guests to be
granted regions of machine memory space)

Ian


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>