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년 전2110회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠