László asked for feature parity with the PC machine types.
v2:
* PATCH 1: Split off PATCH 2 [László]
* PATCH 2: Factor out the loop body, not the whole loop
* PATCH 3: Rebase on previous change
More detailed commit message [László]
Markus Armbruster (3):
pc: Rearrange pc_system_firmware_init()'s legacy -drive loop
pflash_cfi01: New pflash_cfi01_legacy_drive()
hw/arm/virt: Support firmware configuration with -blockdev
hw/arm/virt.c | 198 +++++++++++++++++++++++++--------------
hw/block/pflash_cfi01.c | 28 ++++++
hw/i386/pc_sysfw.c | 18 +---
include/hw/arm/virt.h | 2 +
include/hw/block/flash.h | 1 +
5 files changed, 161 insertions(+), 86 deletions(-)
--
2.17.2