On Fri, Aug 4, 2017 at 2:35 PM, Igor Mammedov <imamm...@redhat.com> wrote: > On Fri, 4 Aug 2017 12:15:40 +0530 > Dhiru Kholia <dhiru.kho...@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. 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