From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50753 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7vB1-0000uB-L7 for qemu-devel@nongnu.org; Thu, 07 Apr 2011 15:47:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7vB0-0002I6-Hm for qemu-devel@nongnu.org; Thu, 07 Apr 2011 15:47:35 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:42652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7vB0-0002HZ-7X for qemu-devel@nongnu.org; Thu, 07 Apr 2011 15:47:34 -0400 Received: by pvg3 with SMTP id 3so1228087pvg.4 for ; Thu, 07 Apr 2011 12:47:33 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4D9E0EAC.3020502@codemonkey.ws> References: <4D9DBC05.8010400@codemonkey.ws> <20110407153106.GA7100@redhat.com> <4D9DDB80.8090905@codemonkey.ws> <20110407155142.GB7100@redhat.com> <4D9DE166.9080001@codemonkey.ws> <4D9E045A.90500@codemonkey.ws> <20110407184417.GD7100@redhat.com> <4D9E0EAC.3020502@codemonkey.ws> Date: Thu, 7 Apr 2011 12:47:32 -0700 Message-ID: Subject: Re: [Qemu-devel] How does the QEMU load the binary files bios.bin and vgabios-cirrus.bin? From: Jordan Justen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: QEMU Developers , Bei Guan , Gleb Natapov , kvm-devel On Thu, Apr 7, 2011 at 12:21, Anthony Liguori wrote= : > QEMU does the leg work already to support SMM. =A0It doesn't work with KV= M > because we treat SMM as ROM memory and trap read/write access. > > To make it work with KVM, you'd have to hack things around to switch the = VGA > space to RAM in order to the let the SMM code run. =A0It's not impossible= , but > that's the main reason it doesn't Just Work. Ah, SMM ASEG/BSEG? I think most recent firmware ignore that, use TSEG (some higher up memory) and run in protected mode. But, based on Gleb's other response, there are other, bigger issues as well= ... -Jordan