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] DomU Direct Hardware access

To: "iambrockz@xxxxxxxxx" <iambrockz@xxxxxxxxx>
Subject: Re: [Xen-users] DomU Direct Hardware access
From: Andrej Radonic <andrej.radonic@xxxxxxxx>
Date: Wed, 02 Aug 2006 11:44:50 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Aug 2006 02:45:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44D0713F.3080707@xxxxxxxxx>
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>
References: <000901c6b498$0f91a630$2f00a8c0@ahmed> <44D0713F.3080707@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)
here we go

hide the pci-cards(lspci) that you want to use in domU

fire up your dom0 without these devices drivers

...
...
module /vmlinuz-2.6-xen root=/dev/hda5 ro console=tty0 max_loop=64 pciback.hide=(0000:00:0c.0)(0000:00:09.0)
...
....


now start you domU with the pci device declared in domU config

....
pci = ['00:0c.00','00:09.00']
....

ok, but what about sharing this device with other domUs?

According to xm man page I can specify vif = [ 'backend=myDriverDomain' ] which should give access to the network card in the above mentioned domain. but so far I was not able to make that work.

Thx for any hints

Andrej

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