There are some mistakes with the steps as following:
1. -N is used to configure sriov VF numbers and should not be used here
system host-if-modify -m 1500 -n sriov -c pci-passthrough -N 5 ${COMPUTE} ${SRIOVIFUUID}
the command should be
system host-if-modify -m 1500 -n pcipass -c pci-passthrough ${COMPUTE} ${SRIOVIFUUID}
2. The following commands are used for SR-IOV:
neutron port-create ${NET}-net --name ${NET}-port-0 --binding:vnic_type direct
openstack server create --flavor m1.medium.pci_passthrough --image ${NET}-image --nic port-id=${NET}-port-0 ${NET}-vm0
You should use below command:
openstack server create --flavor m1.medium.pci_passthrough --image cirros --wait test-pci
HI Sathish,
There are some mistakes with the steps as following: pci_passthrough --image ${NET}-image --nic port-id= ${NET}- port-0 ${NET}-vm0 pci_passthrough --image cirros --wait test-pci
1. -N is used to configure sriov VF numbers and should not be used here
system host-if-modify -m 1500 -n sriov -c pci-passthrough -N 5 ${COMPUTE} ${SRIOVIFUUID}
the command should be
system host-if-modify -m 1500 -n pcipass -c pci-passthrough ${COMPUTE} ${SRIOVIFUUID}
2. The following commands are used for SR-IOV:
neutron port-create ${NET}-net --name ${NET}-port-0 --binding:vnic_type direct
openstack server create --flavor m1.medium.
You should use below command:
openstack server create --flavor m1.medium.