- Command-line:
- Use the pci command-line flag. For multiple devices, use the option
multiple times.
xm create netcard-dd pci=01:00.0 pci=02:03.0
- Flat Format configuration file:
- Specify all of your PCI devices in a python list named pci.
pci=['01:00.0','02:03.0']
- SXP Format configuration file:
- Use a single PCI device section for all of your devices (specify the numbers
in hexadecimal with the preceding '0x'). Note that domain here refers
to the PCI domain, not a virtual machine within Xen.
(device (pci
(dev (domain 0x0)(bus 0x3)(slot 0x1a)(func 0x1)
(dev (domain 0x0)(bus 0x1)(slot 0x5)(func 0x0)
)