Skip to content

Commit

Permalink
Merge pull request #662 from AkihiroSuda/el8-cputype
Browse files Browse the repository at this point in the history
examples/{almalinux,rocky}.yaml: use Lima v0.8.3 cpuType
  • Loading branch information
AkihiroSuda authored Feb 18, 2022
2 parents 7397425 + 6f1ec2b commit 943c90b
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 943c90b

Please sign in to comment.