Skip to content

Commit

Permalink
examples/{almalinux,rocky}.yaml: use Lima v0.8.3 cpuType
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Feb 17, 2022
1 parent f7dbc08 commit 6f1ec2b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions examples/almalinux.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# This example requires Lima v0.7.0 or later.
# This example requires Lima v0.8.3 or later.

# Hint: If QEMU crashes with error "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac,
# try setting environment variable QEMU_SYSTEM_X86_64="qemu-system-x86_64 -cpu Haswell-v4"
# https://bugs.launchpad.net/qemu/+bug/1838390
images:
- location: "http://repo.almalinux.org/almalinux/8.5/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2"
arch: "x86_64"
Expand All @@ -16,3 +13,7 @@ mounts:
writable: true
firmware:
legacyBIOS: true
cpuType:
# Workaround for "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac
# https://bugs.launchpad.net/qemu/+bug/1838390
x86_64: "Haswell-v4"
9 changes: 5 additions & 4 deletions examples/rocky.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# This example requires Lima v0.7.0 or later.
# This example requires Lima v0.8.3 or later.

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

0 comments on commit 6f1ec2b

Please sign in to comment.