qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/6] hw/arm/virt: Provide flash devices for boot


From: Ard Biesheuvel
Subject: Re: [Qemu-devel] [PATCH 1/6] hw/arm/virt: Provide flash devices for boot ROMs
Date: Wed, 10 Sep 2014 11:09:13 +0200

On 9 September 2014 20:20, Peter Maydell <address@hidden> wrote:
> On 5 September 2014 16:15, Ard Biesheuvel <address@hidden> wrote:
>> From: Peter Maydell <address@hidden>
>>
>> Add two flash devices to the virt board, so that it can be used for
>> running guests which want a bootrom image such as UEFI. We provide
>> two flash devices to make it more convenient to provide both a
>> read-only UEFI image and a read-write place to store guest-set
>> UEFI config variables. The '-bios' command line option is set up
>> to provide an image for the first of the two flash devices.
>>
>> Signed-off-by: Peter Maydell <address@hidden>
>> Reviewed-by: Paolo Bonzini <address@hidden>
>> ---
>>  hw/arm/virt.c | 70 
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 70 insertions(+)
>
> This one's been around long enough that I'm going to add
> it to target-arm.next now.
>
> There were previously questions about whether we should
> have flash or RAM at the bottom, but I think it makes
> sense just to have a "like vexpress" config with two
> flash devices. This does make telling QEMU about backing
> storage for the 2nd flash a little complicated, but I
> think anybody seriously running a config like that will
> be using the management tools layer anyhow.
>

You mean having to use -pflash and pad the images out to 64 MB? I
wouldn't worry about that.



reply via email to

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