I am trying to get non SRIOV pci-passthrough using OpenStack Liberty, but not successful.
These are the steps followed
- create pci_passthrough_whitelist in nova.conf of the compute node as pci_passthrough_whitelist = {"address": "0000:89:00.0", "physical_network": "test_phy_nw"}
- As sriov is not used, do not add sriovnicswitch as mechanism driver in ml2. and do not do any ml2 sriov configurations. do not configure pci_passthrough_alias as alias does not support BDF (address)
- create a neutron net - neutron net-create --name test_os_nw --provider:physical_network test_phy_nw --provider:physical_network_type flat. (is Flat ok ? or should i use vlan or vxlan type networks ?)
- create port with direct vnic_type - neutron port-create --name pci.port --binding:vnic_type direct
- boot an instance with this port nova boot --flavor m1.small --image ubuntu --nic port-id=$(neutron port-show pci.port -F id -f value) test.vm
Two questions in this regard
- Are the steps mentioned above correct & am i missing anything in the above steps ?
- Is the process to achieve pci-passthrough (non SRIOV) different from SRIOV pci-passthrough ? If it is different, can you please share a link to it (or better can u give a quick summary of the process).