|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Re: Is there something missing for my NIC passthough?
> 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
|
|
|
|
|