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

[Xen-users] Re: Is there something missing for my NIC passthough?

To: lei yang <yanglei.fage@xxxxxxxxx>
Subject: [Xen-users] Re: Is there something missing for my NIC passthough?
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Thu, 27 May 2010 16:08:46 +0300
Cc: Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 27 May 2010 06:10:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTilbgI2l-nbpukPJte58bCnCyPNkF0U4hy-vLhV-@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTilbgI2l-nbpukPJte58bCnCyPNkF0U4hy-vLhV-@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, May 27, 2010 at 05:17:43PM +0800, lei yang wrote:
>    Hi experts
> 
>    I use xen-4.0.0 and dom0 is 2.6.33 and domU is 2.6.34
> 
>    #lspci
>    ...............
>    01:00.0 Ethernet controller: Intel Corporation Unknown device 10a7 (rev
>    02)
>    01:00.1 Ethernet controller: Intel Corporation Unknown device 10a7 (rev
>    02)
>    05:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet
>    Controller (rev 06)
>    05:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet
>    Controller (rev 06)
> 
>    my *intent* it to let domU to use "05:00.0" device.
> 
>    boot dom0 with  "pci=resource_alignment=05:00.0
>    xen-pciback.hide=(05:00.0)" appended
> 
>    my domU config file is
> 
>    disk = ['tap:aio:/domU.image,xvda1,w', 'tap:aio:/domUswap.image,xvda2,w']
>    kernel = "/bzImage"
>    vcpus=2
>    vif  = [ "mac=00:15:17:AC:00:40,ip=128.224.165.204" ]
>    root = "/dev/xvda1 ro"
>    extra= "xen console=hvc0"
>    pci = ['05:00.0']
> 
>    Is there something I missed? eg: my cfg file or other configure? or other
>    steps
> 

Yes, you're missing the required parameters for the domU kernel.

See: http://wiki.xensource.com/xenwiki/XenPCIpassthrough

-- Pasi


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