From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9meB-0006t1-7T for qemu-devel@nongnu.org; Sat, 01 Feb 2014 21:19:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9me4-0000aI-WF for qemu-devel@nongnu.org; Sat, 01 Feb 2014 21:18:59 -0500 Received: from jedlik.phy.bme.hu ([152.66.102.83]:35528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9me4-0000Zn-Oj for qemu-devel@nongnu.org; Sat, 01 Feb 2014 21:18:52 -0500 Date: Sun, 2 Feb 2014 03:18:42 +0100 (CET) From: BALATON Zoltan In-Reply-To: <52ED64FD.5000003@redhat.com> Message-ID: References: <20140121181101.GB1323@ERROL.INI.CMU.EDU> <20140121183851.GA26382@redhat.com> <20140124164608.GB1293@ERROL.INI.CMU.EDU> <20140125000945.GA10357@crash.ini.cmu.edu> <6FAEE645-799D-4535-B568-75AB5E4D206C@suse.de> <20140128204023.GC29329@ERROL.INI.CMU.EDU> <20140129030736.GA23361@crash.ini.cmu.edu> <20140129145342.GD29329@ERROL.INI.CMU.EDU> <52ED64FD.5000003@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Qemu-devel] osx bootloader List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "Gabriel L. Somlo" , Alexander Graf , "qemu-devel@nongnu.org" On Sat, 1 Feb 2014, Paolo Bonzini wrote: > The firmware has to be ported to each new chipset. > > OVMF was never ported to anything but PIIX. Looks like this is the case. Now I can see that OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c has hardcoded pci paths in it corresponding to the pc machine type with PIIX and it tries to access these devices unconditionally even if they do not exist (as on q35 machine). So this obviously won't work. I think I give up at this point because I don't know enough about Q35 and I don't see how could it be hacked into Ovmf. Additionally it seems that this alone would not be enough to use Apple's boot.efi verbatim but something more complex, very much resembling Clover would be needed to boot OS X with Ovmf EFI which is not much cleaner solution than using Chameleon with Seabios that already works now. Regards, BALATON Zoltan