From 6f1ec2b6f7eb64214a598aa44568a732132f1617 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Thu, 17 Feb 2022 18:21:38 +0900 Subject: [PATCH] examples/{almalinux,rocky}.yaml: use Lima v0.8.3 cpuType Signed-off-by: Akihiro Suda --- examples/almalinux.yaml | 9 +++++---- examples/rocky.yaml | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/examples/almalinux.yaml b/examples/almalinux.yaml index 476a3449212..e4898fbe7f8 100644 --- a/examples/almalinux.yaml +++ b/examples/almalinux.yaml @@ -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" @@ -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" diff --git a/examples/rocky.yaml b/examples/rocky.yaml index 792bef296c6..15f08b0b430 100644 --- a/examples/rocky.yaml +++ b/examples/rocky.yaml @@ -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" @@ -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"