[Starlingx-discuss] PCI - Passthrough Interafce on VM

Hu, Yong yong.hu at intel.com
Tue Jan 29 05:28:02 UTC 2019


On step #2, “--type” should be “vlan”.



On step #3, “-nt”  option was removed for a while, you might use “-c” (meaning “The class of the interface”), as follows:



$ system host-if-modify -c pci-passthrough -p providernet-b compute-0 ens513f1

Using “Horizon” is another convenient way to perform these operations.



From: Himanshu Goyal <himanshugoyal500 at gmail.com>
Date: Tuesday, 29 January 2019 at 1:14 PM
To: "starlingx-discuss at lists.starlingx.io" <starlingx-discuss at lists.starlingx.io>
Subject: [Starlingx-discuss] PCI - Passthrough Interafce on VM

Hi,

I built a setup with controller & compute machine. Able to spawn VM with flat network, But I need one PCI-Passthrough interface also on VM.
Please suggest the steps to create vm with PCI-Passthrough NIC.

Currently I'm following the below steps for creating pci-passthrough network:

Step1: system host-lock compute-0
step2: neutron providernet-create pci_net --type flat
step3: system host-if-modify -m 1500 -n pci_0 -p "pci_net" -nt pci-passthrough compute-0 ens513f1

step3 is giving wrong command error, can you please provide me the correct commands for the same. or if there is any other way to configure that.

Regards.
Himanshu Goyal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190129/187b850b/attachment-0001.html>


More information about the Starlingx-discuss mailing list