qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: RFC: emulation of system flash


From: Anthony Liguori
Subject: Re: [Qemu-devel] Re: RFC: emulation of system flash
Date: Thu, 10 Mar 2011 13:23:36 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

On 03/10/2011 01:03 PM, Jordan Justen wrote:
On Thu, Mar 10, 2011 at 03:46, Jan Kiszka<address@hidden>  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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]