From: Igor Mammedov <imammedo@redhat.com>
To: Dhiru Kholia <dhiru.kholia@gmail.com>
Cc: Pankaj Gupta <pagupta@redhat.com>, Gabriel Somlo <somlo@cmu.edu>,
qemu-devel@nongnu.org, Phil Dennis-Jordan <lists@philjordan.eu>,
BALATON Zoltan <balaton@eik.bme.hu>,
Programmingkid <programmingkidx@gmail.com>
Subject: Re: [Qemu-devel] [PATCH] pc/acpi: Fix booting of macOS with Clover EFI bootloader
Date: Fri, 4 Aug 2017 17:14:06 +0200 [thread overview]
Message-ID: <20170804171406.367f2f64@nial.brq.redhat.com> (raw)
In-Reply-To: <CANO7a6x6EaWNZ8y=MvLU=w_LjRLXserO3NmsgHvaYE0aUCCWzg@mail.gmail.com>
On Fri, 4 Aug 2017 16:17:07 +0530
Dhiru Kholia <dhiru.kholia@gmail.com> wrote:
> On Fri, Aug 4, 2017 at 2:35 PM, Igor Mammedov <imammedo@redhat.com> wrote:
> > On Fri, 4 Aug 2017 12:15:40 +0530
> > Dhiru Kholia <dhiru.kholia@gmail.com> wrote:
> >
> >> This was tested with macOS 10.12.5 and Clover r4114.
> >>
> >> Without this patch, the macOS boot process gets stuck at the Apple logo
> >> without showing any progress bar.
> >>
> >> I have documented the process of running macOS on QEMU/KVM at,
> >>
> >> https://github.com/kholia/OSX-KVM/
> >>
> >> Instead of using this patch, adding an additional command-line knob
> >> which exposes this setting (force_rev1_fadt) to the user might be a more
> >> general solution.
> >
> > it's been reported that OVMF had issues that were fixed,
> > you probably want to read this thread:
> > https://www.mail-archive.com/qemu-devel@nongnu.org/msg468456.html
>
> Hi Igor,
>
> I have now tested various OVMF versions with the latest QEMU (commit
> aaaec6acad7c).
>
> When using edk2.git-ovmf-x64-0-20170726.b2826.gbb4831c03d.noarch.rpm
> from [1] macOS does not boot and gets stuck. The CPU usage goes to
> 100%. I haven't confirmed this but this OVMF build should have both
> 198a46d and 072060a edk2 commits in it, based on the build date.
>
> The OVMF blob from Gabriel Somlo [2] hangs on the OVMF logo screen and
> it too results in 100% CPU usage after hanging.
>
> I am using "boot-clover.sh" script from my repository [4] to test the
> various OVMF versions.
>
> The only OVMF blob which works with the current QEMU for booting macOS
> is the one from Proxmox [3]. Unfortunately, I don't know the
> corresponding commit in the edk2 repository for this working OVMF
> blob.
So it's guest side issue, I'd prefer if it fixed there if possible
instead of adding new CLI options to QEMU to work around issue.
Added to CC BALATON Zoltan for whom updating OVMF fixed the problem,
perhaps you'll be able to figure out what your setup is missing.
> References,
>
> [1] https://www.kraxel.org/repos/jenkins/edk2/
>
> [2] https://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/
>
> [3] https://git.proxmox.com/?p=pve-qemu-kvm.git;a=tree;f=debian
>
> [4] https://github.com/kholia/OSX-KVM/
>
> It would be great if someone else could reproduce these results too.
>
> Thanks,
> Dhiru
>
next prev parent reply other threads:[~2017-08-04 15:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-04 6:45 [Qemu-devel] [PATCH] pc/acpi: Fix booting of macOS with Clover EFI bootloader Dhiru Kholia
2017-08-04 9:05 ` Igor Mammedov
2017-08-04 10:47 ` Dhiru Kholia
2017-08-04 15:14 ` Igor Mammedov [this message]
2017-08-05 8:30 ` Dhiru Kholia
2017-08-05 11:46 ` Dhiru Kholia
2017-08-05 20:05 ` Laszlo Ersek
2017-08-06 7:38 ` Dhiru Kholia
2017-08-06 9:35 ` Laszlo Ersek
[not found] <mailman.88520.1501838500.22740.qemu-devel@nongnu.org>
2017-08-04 15:00 ` Programmingkid
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=20170804171406.367f2f64@nial.brq.redhat.com \
--to=imammedo@redhat.com \
--cc=balaton@eik.bme.hu \
--cc=dhiru.kholia@gmail.com \
--cc=lists@philjordan.eu \
--cc=pagupta@redhat.com \
--cc=programmingkidx@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=somlo@cmu.edu \
/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).