qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

qemu panic on OSX 10.15.6


From: David Cohen
Subject: qemu panic on OSX 10.15.6
Date: Tue, 1 Sep 2020 07:45:55 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.2.0

Hi,

I'm trying to use qemu on OSX Catalina using HVF hypervisor, but it's currently panic'ing upon booting Linux guest.

These are the args I'm using:
build % ./qemu-system-x86_64 -cdrom ~/Downloads/archlinux-2020.08.01-x86_64.iso -smp 4 -m 4G -vga virtio -accel hvf -cpu host

I could trace the failure to test_pt_entry(), in this exact position:

build % git diff
diff --git a/target/i386/hvf/x86_mmu.c b/target/i386/hvf/x86_mmu.c
index 65d4603dbf..8f04a94cc6 100644
--- a/target/i386/hvf/x86_mmu.c
+++ b/target/i386/hvf/x86_mmu.c
@@ -113,6 +113,7 @@ static bool test_pt_entry(struct CPUState *cpu, struct gpt_translation *pt,
     }

     if (!pte_present(pte)) {
+        printf("Code is failing here");
         return false;
     }


Is anyone aware of this issue?

Br, David Cohen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]