From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9i44-0006GL-Hm for qemu-devel@nongnu.org; Sat, 01 Feb 2014 16:25:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9i3v-0001f0-R6 for qemu-devel@nongnu.org; Sat, 01 Feb 2014 16:25:24 -0500 Received: from mail-qc0-x231.google.com ([2607:f8b0:400d:c01::231]:34902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9i3v-0001by-Jt for qemu-devel@nongnu.org; Sat, 01 Feb 2014 16:25:15 -0500 Received: by mail-qc0-f177.google.com with SMTP id i8so9020791qcq.22 for ; Sat, 01 Feb 2014 13:25:13 -0800 (PST) Sender: Paolo Bonzini Message-ID: <52ED64FD.5000003@redhat.com> Date: Sat, 01 Feb 2014 22:19:57 +0100 From: Paolo Bonzini MIME-Version: 1.0 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] osx bootloader List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: BALATON Zoltan , "Gabriel L. Somlo" Cc: Alexander Graf , "qemu-devel@nongnu.org" Il 01/02/2014 01:38, BALATON Zoltan ha scritto: > >> I managed to boot OVMF following their wiki; It seems to work with kvm >> enabled, but not with -M q35. My current command line is: > > I've tried with the version compiled from the edk2 HEAD and that also > fails with -M q35. I've managed to get some debug output via the options > described in OVMF's readme file and the error is around where > initialising the graphics card. With q35 it stops with: > > ASSERT .../edk2/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c(163): (Port > & 3) == 0 > > This function is IoRead32 and it says the port must be 32-bit aligned. > I've tried to find what port it tries to access but qemu -d ioport > option generates no output for me. Any hints on how to use this debug > option of qemu? The firmware has to be ported to each new chipset. OVMF was never ported to anything but PIIX. Paolo