[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] DomU Direct Hardware access



When you specify vif, you are creating a virtual interface, not a way to acces the network card.

The setup i have, is the machine has 2 pci network cards.  Both using pci_hide, and i create 2 vif as below:

vif = ['mac=aa:00:00:00:00:13,bridge=dmz','mac=aa:00:00:00:00:12,bridge=intranet']

This means the domU will have 4 eth connections.  2 vritual, 2 physical. It does the routing and is also the dmz server.

Other domUs, I have:

vif = ['mac=aa:00:00:00:00:15, bridge=intranet']

Allowing that machine to have access to the virtual network connection, intranet.

I hope it answers your question.  Someone please correct me, if I'm wrong

W


From:  Andrej Radonic <andrej.radonic@xxxxxxxx>
To:  "iambrockz@xxxxxxxxx" <iambrockz@xxxxxxxxx>
CC:  xen-users@xxxxxxxxxxxxxxxxxxx
Subject:  Re: [Xen-users] DomU Direct Hardware access
Date:  Wed, 02 Aug 2006 11:44:50 +0200
MIME-Version:  1.0
Received:  from lists.xensource.com ([217.147.82.229]) by bay0-mc12-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 2 Aug 2006 02:45:11 -0700
Received:  from localhost ([127.0.0.1] helo=lists.xensource.com)by host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1G8DNM-0000kT-Gy; Wed, 02 Aug 2006 09:50:52 +0000
Received:  from [192.168.0.10] (helo=lists.xensource.com)by host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1G8DN0-0000aV-Ijfor xen-users@xxxxxxxxxxxxxxxxxxx; Wed, 02 Aug 2006 09:50:30 +0000
Received:  from manhattan.visp.de ([84.23.254.159])by lists.xensource.com with esmtp (Exim 4.50) id 1G8DF5-0003sV-3kfor xen-users@xxxxxxxxxxxxxxxxxxx; Wed, 02 Aug 2006 09:42:20 +0000
Received:  from manhattan.visp.de ([10.159.10.22] helo=localhost)by manhattan.visp.de with esmtpa (Exim 4.62 id 1G8DHO-000Kl1-2p);Wed, 02 Aug 2006 11:44:42 +0200
>>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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.