What is the correct network type for direct passthrough of pci devices?

asked 2014-11-25 05:10:44 -0500

srividya_r gravatar image

I am trying to passthrough a PCI device (ethernet card) by direct mode to the vm. I tried the steps given in: https://wiki.openstack.org/wiki/Pci_passthrough (https://wiki.openstack.org/wiki/Pci_p...) .

To summarize: added the pci_whitelist and pci_alias to the nova.conf created a dummy internal network (flat) with a port containing mac address of the pci device. Edited a flavor to add the pci_passthrough_alias metadata key. started a vm instance with the corresponding flavor.

I am not looking for SRIOV yet, its just a simple passthrough.

I tried the above in both icehouse and juno. The PCI stats is populated correctly, but the instance boot fails with error: vif_type:binding failed and hence no valid host found.

Some of the questions I have: 1.What is the correct network type for pci pasthrough of devices? 2. Is openvswitch plugin really needed for this type of configuration?

Any pointers on this will be really helpful.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-18 15:28:25 -0500

moshele gravatar image
  1. network type should be vlan
  2. openvswitch mechanism driver is needed if you need use dhcp or external network
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-11-25 05:10:44 -0500

Seen: 746 times

Last updated: Jan 18 '15