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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则