Skip to content

Commit 943c90b

Browse files
authored
Merge pull request #662 from AkihiroSuda/el8-cputype
examples/{almalinux,rocky}.yaml: use Lima v0.8.3 cpuType
2 parents 7397425 + 6f1ec2b commit 943c90b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

examples/almalinux.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# This example requires Lima v0.7.0 or later.
1+
# This example requires Lima v0.8.3 or later.
22

3-
# Hint: If QEMU crashes with error "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac,
4-
# try setting environment variable QEMU_SYSTEM_X86_64="qemu-system-x86_64 -cpu Haswell-v4"
5-
# https://bugs.launchpad.net/qemu/+bug/1838390
63
images:
74
- location: "http://repo.almalinux.org/almalinux/8.5/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2"
85
arch: "x86_64"
@@ -16,3 +13,7 @@ mounts:
1613
writable: true
1714
firmware:
1815
legacyBIOS: true
16+
cpuType:
17+
# Workaround for "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac
18+
# https://bugs.launchpad.net/qemu/+bug/1838390
19+
x86_64: "Haswell-v4"

examples/rocky.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# This example requires Lima v0.7.0 or later.
1+
# This example requires Lima v0.8.3 or later.
22

3-
# Hint: If QEMU crashes with error "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac,
4-
# try setting environment variable QEMU_SYSTEM_X86_64="qemu-system-x86_64 -cpu Haswell-v4"
5-
# https://bugs.launchpad.net/qemu/+bug/1838390
63
images:
74
- location: "https://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2"
85
arch: "x86_64"
@@ -16,3 +13,7 @@ mounts:
1613
writable: true
1714
firmware:
1815
legacyBIOS: true
16+
cpuType:
17+
# Workaround for "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac
18+
# https://bugs.launchpad.net/qemu/+bug/1838390
19+
x86_64: "Haswell-v4"

0 commit comments

Comments
 (0)