On 5 September 2014 16:15, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote: > From: Peter Maydell <peter.mayd...@linaro.org> > > 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 <peter.mayd...@linaro.org> > Reviewed-by: Paolo Bonzini <pbonz...@redhat.com> > --- > 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. thanks -- PMM