← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1832169] [NEW] device_type of PCI alias config could be mismatched

 

Public bug reported:

Currently, to use PCI passthrough functionality admin should specify the
alias of PCI devices and the format is like below

alias = { "vendor_id":"8086", "product_id":"1528", "device_type":"type-
PCI", "name":"nic" }

What I think confusing for this configuration is that there is just one
"device_type" for the device. I assume that device_type is not needed to
the device be identified since libvirt made the device_type for one
device.

IOW, I suspects it never happens like below.
alias = { "vendor_id":"8086", "product_id":"1528", "device_type":"type-PCI", "name":"nic" }
alias = { "vendor_id":"8086", "product_id":"1528", "device_type":"type-PF", "name":"nic" }

I strongly believe the PCI device having 8086:1528 ID is just already
set the unique device_type., I'm not 100% sure though.

So my point is it's better to delete device_type attribute for the
config so that admin does not care about the device type. I think it's
big barrier to use PCI passthrough functionality for whom does not
familiar with the concept.

Thanks.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1832169

Title:
  device_type of PCI alias config could be mismatched

Status in OpenStack Compute (nova):
  New

Bug description:
  Currently, to use PCI passthrough functionality admin should specify
  the alias of PCI devices and the format is like below

  alias = { "vendor_id":"8086", "product_id":"1528", "device_type
  ":"type-PCI", "name":"nic" }

  What I think confusing for this configuration is that there is just
  one "device_type" for the device. I assume that device_type is not
  needed to the device be identified since libvirt made the device_type
  for one device.

  IOW, I suspects it never happens like below.
  alias = { "vendor_id":"8086", "product_id":"1528", "device_type":"type-PCI", "name":"nic" }
  alias = { "vendor_id":"8086", "product_id":"1528", "device_type":"type-PF", "name":"nic" }

  I strongly believe the PCI device having 8086:1528 ID is just already
  set the unique device_type., I'm not 100% sure though.

  So my point is it's better to delete device_type attribute for the
  config so that admin does not care about the device type. I think it's
  big barrier to use PCI passthrough functionality for whom does not
  familiar with the concept.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1832169/+subscriptions


Follow ups