It looks like device name is not used in the match for pci device specifications:
From PciDeviceSpec class in nova.pci.devspec:
def match(self, dev_dict): conditions = [ self.vendor_id in (ANY, dev_dict['vendor_id']), self.product_id in (ANY, dev_dict['product_id']), self.address.match(dev_dict['address'], dev_dict.get('parent_addr')) ] return all(conditions)
It looks like device name is not used in the match for pci device specifications:
From PciDeviceSpec class in nova.pci.devspec:
def match(self, dev_dict):
self. vendor_ id in (ANY, dev_dict[ 'vendor_ id']),
self. product_ id in (ANY, dev_dict[ 'product_ id']),
self. address. match(dev_ dict['address' ],
dev_dict. get('parent_ addr'))
conditions = [
]
return all(conditions)