From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47688 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxlSX-0003xq-1s for qemu-devel@nongnu.org; Thu, 10 Mar 2011 14:23:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxlSU-0007Nt-Tp for qemu-devel@nongnu.org; Thu, 10 Mar 2011 14:23:40 -0500 Received: from mail-yx0-f173.google.com ([209.85.213.173]:35310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxlSU-0007No-RO for qemu-devel@nongnu.org; Thu, 10 Mar 2011 14:23:38 -0500 Received: by yxk8 with SMTP id 8so986614yxk.4 for ; Thu, 10 Mar 2011 11:23:38 -0800 (PST) Message-ID: <4D792538.4030407@codemonkey.ws> Date: Thu, 10 Mar 2011 13:23:36 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: RFC: emulation of system flash References: <20110310094726.GB14805@redhat.com> <4D78B5BB.5020408@siemens.com> <4D78BA01.6050409@siemens.com> In-Reply-To: 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: Jordan Justen Cc: Gleb Natapov , Jan Kiszka , qemu-devel , Michal Suchanek , Kevin O'Connor , Avi Kivity , Stefan Hajnoczi On 03/10/2011 01:03 PM, Jordan Justen wrote: > On Thu, Mar 10, 2011 at 03:46, Jan Kiszka wrote: >> On 2011-03-10 12:27, Jan Kiszka wrote: >>> On 2011-03-10 10:47, Gleb Natapov wrote: >>>> My suggestion is to extend >>>> -bios option like this: >>>> >>>> -bios bios.bin,flash=flash.bin,flash_base=addr >>>> >>>> flash.bin will be mapped at address flash_base, or, if flash_base is not >>>> present, just below bios.bin. >>> ...or define -flash in a way that allows mapping the bios image as an >>> overlay to the otherwise guest-managed flash image. >> Better define flash chips as qdev devices and make the attributes qdev >> properties: >> >> -device flash,image=...,base=...,overlay=...,overlay_start=... > I was hoping it would not necessarily require a script to run OVMF. :) > > The original proposal would have allowed for: > > qemu -L . -flash ovmf.fd If you implement a CSM for Tiano Core, then you won't need to use any special parameters because we can just use OVMF by default ;-) Regards, Anthony Liguori > -Jordan >