[openstack-dev] [nova] pci pass through turing complete config options?
Jay Pipes
jaypipes at gmail.com
Tue Oct 28 14:18:37 UTC 2014
On 10/28/2014 07:44 AM, Daniel P. Berrange wrote:
> One option would be a more CSV like syntax eg
>
> pci_passthrough_whitelist = address=*0a:00.*,physical_network=physnet1
> pci_passthrough_whitelist = vendor_id=1137,product_id=0071
>
> But this gets confusing if we want to specifying multiple sets of data
> so might need to use semi-colons as first separator, and comma for list
> element separators
>
> pci_passthrough_whitelist = vendor_id=8085;product_id=4fc2, vendor_id=1137;product_id=0071
What about this instead (with each being a MultiStrOpt, but no comma or
semicolon delimiters needed...)?
[pci_passthrough_whitelist]
# Any Intel PRO/1000 F Sever Adapter
vendor_id=8086
product_id=1001
address=*
physical_network=*
# Cisco VIC SR-IOV VF only on specified address and physical network
vendor_id=1137
product_id=0071
address=*:0a:00.*
physical_network=physnet1
Either that, or the YAML file that Sean suggested, would be my preference...
Best,
-jay
More information about the OpenStack-dev
mailing list