From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57136 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7wqg-00051u-IR for qemu-devel@nongnu.org; Thu, 07 Apr 2011 17:34:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7wqf-0005Jz-FX for qemu-devel@nongnu.org; Thu, 07 Apr 2011 17:34:42 -0400 Received: from mail-iy0-f173.google.com ([209.85.210.173]:46598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7wqf-0005Ju-6j for qemu-devel@nongnu.org; Thu, 07 Apr 2011 17:34:41 -0400 Received: by iym10 with SMTP id 10so3500450iym.4 for ; Thu, 07 Apr 2011 14:34:40 -0700 (PDT) Message-ID: <4D9E2DEE.9080108@codemonkey.ws> Date: Thu, 07 Apr 2011 16:34:38 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] How does the QEMU load the binary files bios.bin and vgabios-cirrus.bin? 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> <20110407193107.GH7100@redhat.com> In-Reply-To: <20110407193107.GH7100@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Jordan Justen , Bei Guan , kvm-devel , QEMU Developers On 04/07/2011 02:31 PM, Gleb Natapov wrote: > > Remapping part is easy. As you are saying QEMU already does remapping, Yes. > the only thing missing is creating/destroying/remapping KVM memory slot > (with SMP it is slightly more complicated, but doable). Yup. It's not impossible but not free. > But after doing > this SMM will not Just Work in KVM on Intel because VMX does not support > SMM mode and it can't be approximated by vm86, so KVM will have to emulate > every single instruction while in SMM mode and this like will not work. Isn't everyone using Westmere's at this point with unrestricted guest mode :-) BTW, I assume that there's some kernel logic needed to enable SMM intercepts but I'm not entirely sure what's involved there. Regards, Anthony Liguori > -- > Gleb. >