qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] pc/acpi: Fix booting of macOS with Clover EFI bootl


From: Programmingkid
Subject: [Qemu-devel] [PATCH] pc/acpi: Fix booting of macOS with Clover EFI bootloader
Date: Fri, 4 Aug 2017 11:00:47 -0400

> On Aug 4, 2017, at 5:21 AM, address@hidden wrote:
> 
> Message: 3
> Date: Fri,  4 Aug 2017 12:15:40 +0530
> From: 
> To: address@hidden
> Cc: Igor Mammedov <address@hidden>, Pankaj Gupta
>       <address@hidden>,       Dhiru Kholia <address@hidden>
> Subject: [Qemu-devel] [PATCH] pc/acpi: Fix booting of macOS with
>       Clover EFI bootloader
> Message-ID: <address@hidden>
> 
> 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.
> ---
> hw/i386/acpi-build.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
> index b9c245c..0f8df19 100644
> --- a/hw/i386/acpi-build.c
> +++ b/hw/i386/acpi-build.c
> @@ -145,6 +145,7 @@ static void acpi_get_pm_info(AcpiPmInfo *pm)
>             object_property_get_uint(obj, ACPI_PCIHP_IO_LEN_PROP, NULL);
>     }
>     if (lpc) {
> +        pm->force_rev1_fadt = true;
>         obj = lpc;
>         pm->cpu_hp_io_base = ICH9_CPU_HOTPLUG_IO_BASE;
>     }
> -- 
> 2.9.4

Very interesting. You are using the hackintosh method to install Mac OS X in 
QEMU. I think the supported way is to use Apple's official installer. Could you 
send your full command-line? I think in this instance a '-acpi-rev1' option 
would be useful. 





reply via email to

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