On Thu, Mar 10, 2011 at 03:46, Jan Kiszka <jan.kis...@siemens.com> 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

-Jordan

Reply via email to