Does Graviton 3 support nested virtualization?

0

Hi,

I tried to run a KVM based VM on a Graviton EC2 instance. However I couldn't see /dev/kvm on a c7g.xlarge instance. I confirmed the VM works on a a1.metal which is a bit costly I feel. So I'd like to know Graviton 3 (or future Graviton) has support of nested virtualization added in Armv8.3-A (https://developer.arm.com/documentation/102142/0100/Nested-virtualization).

Regards, Soju

soju
已提问 9 个月前492 查看次数
4 回答
0

Only bare metal[1,2] EC2 instances provide direct access to cpu of the underlying server and its' features like Intel VT-x required to run your own hypervisor. The other types of instances does not expose the hardware requirements to install and run another virtualization layer on top of an EC2 instance which itself is a virtual machine.

profile picture
专家
已回答 9 个月前
0

Thank you for answering this.

If my understanding is correct, ARMv8.3 or above has a support of nested virtualization in architecture level while Intel requires optional CPU feature, VT-x. It sounds to me that the answer of a post below implies nested virtualization would be available once Graviton has ARMv8.3 or above architecture. These are why I had a hope of running VM on a non-metal Graviton instance. Nested virtualization on Graviton, https://repost.aws/questions/QUEoabj2ZERq2P5QFL6d6-RQ/nested-virtualization-on-graviton

soju
已回答 9 个月前
0

The answer is no, EC2 VMs do not support nested virtualization for any architecture. To run your own hypervisor on EC2, you have to use *.metal instances. From there you could do nested virtualization, but at that point there's no need as you have the entire machine to work with.

GeoffB
已回答 8 个月前
0

Thank you for clarifying the conclusion. We have a concrete reason to need nested VMs running on EC2. Hopefully AWS will continue to provide a1.metal for a long time as it's relatively reasonable price among all metal instances.

soju
已回答 8 个月前

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

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

回答问题的准则