|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
[Xen-users] Re: Is there something missing for my NIC passthough? 
| 
 
 On Thu, May 27, 2010 at 10:51 PM, lei yang <yanglei.fage@xxxxxxxxx>  wrote:
 
 
Yes, you're missing the required parameters for the domU kernel.>    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
 >
 
 
 
 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?  
   if I remove "vif  = [ "mac=00:15:17:AC:00:40,ip=128.224.165.204" ]"   I find I can't find a networking interface   root@localhost:/root> ifconfigroot@localhost:/root > ifconfig eth0 up eth0: ERROR while getting interface flags: No such device
root@localhost:/root > ifconfig eth1 up eth1: ERROR while getting interface flags: No such deviceroot@localhost:/root > ifconfig -a 
lo        Link encap:Local Loopback           LOOPBACK  MTU:16436  Metric:1           RX packets:0 errors:0 dropped:0 overruns:0 frame:0           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)   
 
 --
 "We learn from failure, not from success!"
 
 
 --
 "We learn from failure, not from success!"
 
 _______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users | 
 |  | 
  
    |  |  |