PCIe device passthrough on bare-metal EC2 instances

0

Hi

I am trying to run some experiments which require passing one or more of the local NVMe SSDs on a bare-metal EC2 instance into a VM. I am running Linux as the host OS and would normally leverage kvm and vfio-pci to get this done. On my EC2 instance however I see no IOMMU groups or vfio kernel module. I have heard that PCIe passthrough is possible on EC2 bare-metal. Can I get some details on how to do that? I would prefer to use Ubuntu 22.04 as my bare-metal OS but if I need to use something else Linux based I can.

Thanks

Stephen

profile picture
已提問 2 年前檢視次數 638 次
2 個答案
0

As an update I have tried adding intel_iommu=on to my GRUB and rebooting. That causes my instance to hang! So I suspect some very nasty interaction between the AWS Nitro system and the Intel IOMMU is occuring?

profile picture
已回答 2 年前
0

I have the same experience and no specific answer from AWS yet, please update if you were able to get an answer to that.

RP
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南