qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* qemu panic on OSX 10.15.6
@ 2020-09-01 12:45 David Cohen
  2020-09-02  8:17 ` Christian Schoenebeck
  0 siblings, 1 reply; 3+ messages in thread
From: David Cohen @ 2020-09-01 12:45 UTC (permalink / raw)
  To: qemu-devel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-03 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-01 12:45 qemu panic on OSX 10.15.6 David Cohen
2020-09-02  8:17 ` Christian Schoenebeck
2020-09-03 14:50   ` Roman Bolshakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).