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

Re: [Xen-users] Assign Physical NIC to domU



On Mi, MÃr 26, 2008 at 12:25:02 -0700, Ivan Gonzalez wrote:
> Hello Igor.
> 
> I'm using HVM for my domU, and i don't mind to use
> linux bridge to connect my domU to eth1, so if you
> could tell me how to do it would be really helpful.


If you use (and want use further) HVM domain,
you can make passthrough only if 

    (1) your hadrware support VT-d (I/O virtualization technology from Intel) 
        which is very rare for the present (don't confuse it with VT-x)
    and
    (2) you also use Xen 3.2 (or 3.3-unstable).

So, I think that it's better not to passthrouth PCI-device, 
but to use linux bridge instead of it.

To do this, you should:


1) In dom0:

 /etc/xen/scripts/network-bridge start bridge=eth1bridged netdev=eth1

2) In config of your HVM domain:

 vif = [ 'type=ioemu, bridge=eth1bridged' ]

That's all.


> 
> Thanks for your help.
> Regards
> Ivan
> 
> --- Igor Chubin <igor@xxxxxxx> wrote:
> 
> > On Mi, MÃr 26, 2008 at 11:56:12 -0700, Ivan Gonzalez
> > wrote:
> > > Hello Brian!
> > > 
> > > Thanks for the quick answer.
> > > 
> > > Yes i have two separate cards, do you mind telling
> > me
> > > how can i assign the PCI device to the domU?
> > 
> > 
> > Do you use a PV or an HVM guest domain?
> > Do you want to make PCI passthrough or you 
> > don't mind to use linux bridge to connect
> > domU to eth1 in the domain 0?
> > 
> > > 
> > > Again thanks for your help.
> > > Regards
> > > Ivan
> > > 
> > > --- Brian Stempin <brian.stempin@xxxxxxxxx> wrote:
> > > 
> > > > Hi Ivan,
> > > > 
> > > > If the NICs are on 2 separate cards or have 2
> > > > separate PCI addresses, you
> > > > can assign the PCI device directly to the DomU.
> > > > 
> > > > On Tue, Mar 25, 2008 at 6:55 PM, Ivan Gonzalez
> > > > <smaug_valley@xxxxxxxxx>
> > > > wrote:
> > > > 
> > > > > Hello everyone!
> > > > >
> > > > > Well i want to know, if there is a way to
> > specify
> > > > a
> > > > > physical nic (like eth0 or eth1) to a
> > > > > domU and how can i do it.
> > > > >
> > > > > The server has two nics, what i want to do is
> > > > assign
> > > > > physical nic (eth0) to the dom0 and assign
> > > > physical
> > > > > nic (eht1) to the domU.
> > > > >
> > > > > I appreciate your help.
> > > > > Regards
> > > > > Ivan
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 
> > > >
> > >
> >
> ____________________________________________________________________________________
> > > > > Be a better friend, newshound, and
> > > > > know-it-all with Yahoo! Mobile.  Try it now.
> > > > >
> > > >
> > >
> >
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > > > >
> > > > >
> > _______________________________________________
> > > > > Xen-users mailing list
> > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > http://lists.xensource.com/xen-users
> > > > >
> > > > 
> > > 
> > > 
> > > 
> > >      
> >
> ____________________________________________________________________________________
> > > Be a better friend, newshound, and 
> > > know-it-all with Yahoo! Mobile.  Try it now. 
> >
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > > 
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > 
> > -- 
> > WBR, i.m.chubin
> > 
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> > 
> 
> 
> 
>       
> ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-- 
WBR, i.m.chubin


_______________________________________________
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®.