Skip to content

Commit 8c48cb3

Browse files
committed
qemu: upgrade Cortex-A72 to Cortex-A76
Cortex-A76 supports ARMv8.2-A, while Cortex-A72 only supports ARMv8-A. ARMv8-A is not enough to run AmazonLinux 2023: ``` $ docker run -it --rm public.ecr.aws/amazonlinux/amazonlinux:2023 Fatal glibc error: This version of Amazon Linux requires a newer ARM64 processor compliant with at least ARM architecture 8.2-a with Cryptographic extensions. On EC2 this is Graviton 2 or later. ``` Cortex-A76 is available since QEMU 7.1 (Aug 2022). Signed-off-by: Akihiro Suda <[email protected]>
1 parent 559ead5 commit 8c48cb3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: pkg/limayaml/defaults.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var (
5656

5757
func defaultCPUType() CPUType {
5858
cpuType := map[Arch]string{
59-
AARCH64: "cortex-a72",
59+
AARCH64: "cortex-a76", // available since QEMU 7.1 (Aug 2022)
6060
ARMV7L: "cortex-a7",
6161
// Since https://github.com/lima-vm/lima/pull/494, we use qemu64 cpu for better emulation of x86_64.
6262
X8664: "qemu64",

Diff for: templates/default.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ os: null
314314
# Setting of instructions is supported like this: "qemu64,+ssse3".
315315
# 🟢 Builtin default: hard-coded arch map with type (see the output of `limactl info | jq .defaultTemplate.cpuType`)
316316
cpuType:
317-
# aarch64: "cortex-a72" # (or "host" when running on aarch64 host)
317+
# aarch64: "cortex-a76" # (or "host" when running on aarch64 host)
318318
# armv7l: "cortex-a7" # (or "host" when running on armv7l host)
319319
# riscv64: "rv64" # (or "host" when running on riscv64 host)
320320
# x86_64: "qemu64" # (or "host,-pdpe1gb" when running on x86_64 host)

Diff for: website/content/en/docs/installation/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Supported host OS:
99
- Windows (untested)
1010

1111
Prerequisite:
12-
- QEMU 7.0 or later (Required, only if QEMU driver is used)
12+
- QEMU 7.1 or later (Required, only if QEMU driver is used)
1313

1414
{{< tabpane text=true >}}
1515

0 commit comments

Comments
 (0)