How to launch instance with PCI passthrough ?

asked 2016-02-05 08:20:21 -0500

teju gravatar image

updated 2016-02-06 01:27:40 -0500

I installed Redhat OpenStack Platform 7 with 1 controller and 1 compute nodes.

I want to launch an instance with PCI passthrough.

I see this error in nova-compute logs

http://pastebin.com/vy1LsxNe

Note: I am able to launch a VM through virt-manager ( SRIOV). However, I get the same error as pasted above when I try to launch VM with PCI passthrough

How to fix this?

edit retag flag offensive close merge delete

Comments

Just to be sure whether the issue is related with OpenStack or something else, Trying launching a VM thorugh virt-manager with SRIOV.

pjb gravatar imagepjb ( 2016-02-05 09:19:43 -0500 )edit

I am able to launch a VM through virt-manager ( SRIOV). However, I get the same error as pasted above when I try to launch VM with PCI passthrough

teju gravatar imageteju ( 2016-02-05 20:35:04 -0500 )edit

Hi, have you added this to your grub conf file:

intel_iommu=on
pjb gravatar imagepjb ( 2016-02-06 03:26:43 -0500 )edit

Yes, I added intel_iommu=on in grub file and performed few steps to bind the PCI device to vfio-pci driver as per instructions in the link https://www.kernel.org/doc/Documentat... However, I still get the same error

teju gravatar imageteju ( 2016-02-06 11:44:51 -0500 )edit