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: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: [Xen-users] Re: Is there something missing for my NIC passthough?
From: lei yang <yanglei.fage@xxxxxxxxx>
Date: Thu, 27 May 2010 22:51:39 +0800
Cc: Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 27 May 2010 07:55:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=vXZoR57q0COmsgguc7ZYlnl8pg0gb8lx5pBbXSjBRAs=; b=G8vLBp2OBdwd/u/9CbFsi26mYsc1e8n52DFjztroOIYG/pYfC/WcZ1cV0kcMF6cda+ /uifHIU14MiTtXdk8SSEz5GHHePrtNNvCqVFvX4z5MCb4S5JpNSs+vE/A9rjXa1G+4TH 9valyIYE0t2GDhsrUo9iBdRnMCXp5qTnhZ/VM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=stMovbYhQaeutJyWgUwrgKCj78GyUvrWs8LDyLN2NgpkxtzXKHfzr0yRwKN9s2Paxj VhJGWbkeCWKQDoICx4kQZlPGXt9NMNNIutNGNAX+XSU8qiWKRCWohfoVbLlwdMz6E+oA JHi7+L5k98T63eg0od+uFTKTn0hfR4SDn0oT8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100527130846.GP17817@xxxxxxxxxxx>
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> <20100527130846.GP17817@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


>    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

 
 
Thanks Pasik "I will add "iommu=soft swiotlb=force"。does it add into "domU.cfg" file with
    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 iommu=soft swiotlb=force"
    pci = ['05:00.0']
 
I just want to let domU nic using my pci nic directly. do I need to change my "   vif  = [ "mac=00:15:17:AC:00:40,ip=128.224.165.204" ]" or remove it?
 
Thanks
Lei

 
 
 
-- Pasi




--
"We learn from failure, not from success!"
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users