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

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


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



> Â Â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

 


Rackspace

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