Nested virtualization on Graviton

0

Hi

I am hoping to spin up an Arm QEMU based VM on a Graviton EC2 instance. Given that there is already the AWS hypervisor layer (I assume) do I need to do anything special to get my VM to leverage KVM? Is there any specifics on this on the support site somewhere?

Thanks!

Stephen

profile picture
已提問 4 年前檢視次數 2111 次
2 個答案
1

Thanks for your interest in Graviton instances!

Graviton 2 uses the ARMv8.2 architecture, which does not have native support for nested virtualization, which is added in ARMv8.3. See https://developer.arm.com/architectures/learn-the-architecture/aarch64-virtualization/nested-virtualization for more information. You can, however, use any of the Graviton metal instance types to do what you want to. AWS offers a metal instance with 64 Graviton 2 cores in the C, M, and R instances families.

Feel free to post again if you have follow up questions.

Jonathan

Edited by: JonathanForAWS on Oct 13, 2020 2:18 PM

AWS
已回答 4 年前
0

Thanks Jonathan

That's a pretty awesome explaination. I did not know Graviton 2 was based ARMv8.2. Now I am very excited for Graviton 3 ;-).

I can't do what I want to do on bare-metal Graviton as I need to emulate an NVMe SSD with a CMB inside QEMU/libvirt to do some p2pdma Linux kernel testing for ARM platforms. The NVMe drives you emulate on these instances via Nitro don't support the CMB feature and the virtualization Nitro provides messes with the experiments I want to perform.

I did get emulated QEMU to work on the Graviton 2 but it is (as you might imagine) stupid slow. Using a real ARM CPU to run an emulation of a ARM CPU is not efficient ;-). I do have some real Arm based systems in my lab (based on Mellanox and Broadcom ARM SoCs) and will see if I can setup a bare-metal system with what I need on them.

Stephen

profile picture
已回答 4 年前

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

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

回答問題指南