qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: David Cohen <dacohen@zohomail.com>,
	Cameron Esfahani <dirty@apple.com>,
	Roman Bolshakov <r.bolshakov@yadro.com>
Subject: Re: qemu panic on OSX 10.15.6
Date: Wed, 02 Sep 2020 10:17:01 +0200	[thread overview]
Message-ID: <1645171.kiFi0bBsqf@silver> (raw)
In-Reply-To: <a1f5ea65-073c-6130-1151-722d66d1564e@zohomail.com>

On Dienstag, 1. September 2020 14:45:55 CEST David Cohen wrote:
> 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

CCing Cameron and Roman, just in case.

Best regards,
Christian Schoenebeck




  reply	other threads:[~2020-09-02  8:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-01 12:45 qemu panic on OSX 10.15.6 David Cohen
2020-09-02  8:17 ` Christian Schoenebeck [this message]
2020-09-03 14:50   ` Roman Bolshakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1645171.kiFi0bBsqf@silver \
    --to=qemu_oss@crudebyte.com \
    --cc=dacohen@zohomail.com \
    --cc=dirty@apple.com \
    --cc=qemu-devel@nongnu.org \
    --cc=r.bolshakov@yadro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).