Changes between Version 23 and Version 24 of xen


Ignore:
Timestamp:
Feb 23, 2008, 7:03:38 PM (10 years ago)
Author:
jrollins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • xen

    v23 v24  
    9292Debian xen has built in support for passing pci devices to domU using the "pciback" module.  The following xen kernel config options are enabled by default:
    9393{{{
    94 CONFIG_XEN_PCIDEV_FRONTEND=y (for DomU kernels)
    95 CONFIG_XEN_PCIDEV_BACKEND=y (for Dom0 kernels)
     94CONFIG_XEN_PCIDEV_FRONTEND=y  # for domU kernels
     95CONFIG_XEN_PCIDEV_BACKEND=y  # for dom0 kernels
    9696}}}
    9797
     
    109109echo -n $DPCIDEV0 > /sys/bus/pci/drivers/pciback/bind
    110110}}}
    111 To have this happen automatically at boot, you just need to pass some pciback kernel parameters to the dom0.  With grub, this is best done by adding the needed parameters to the "xenkopt" config line in the grub menu.lst:
     111To have this happen automatically at boot, you just need to pass some pciback kernel parameters to the dom0.  With grub, this is best done by adding the needed parameters to the `xenkopt` config line in the grub menu.lst:
    112112{{{
    113113## Xen Linux kernel options to use with the default Xen boot option               
     
    116116Don't forget to run `update-grub`.  Reboot the machine and make sure the changes take effect. 
    117117
    118 Now add the pci devices to the domU config with a "pci=[...]" line:
     118Now add the pci devices to the domU config with a `pci=[...]` line:
    119119{{{
    120120pci=['PCIDEV0', 'PCIDEV1', ...]