This is the first (fw_cfg) half of the v5 iteration of the series posted here: <http://lists.nongnu.org/archive/html/qemu-devel/2016-12/msg00129.html>.
In this version, the fw_cfg patches have been separated into a standalone "wave", for helping review / maintenance, and also for enabling independent features on top of writeable blobs. More importantly, I've addressed Igor's v4 feedback. See the individual patches for the details. Patch #3 is included verbatim from Eduardo's pending series (see the patch notes for the archive URL), as a dependency for patch #4. If Eduardo's series is merged first, patch #3 can be dropped (in fact git-rebase should do it automatically). Please excuse the surprisingly long list of CC's, it's due to the fact that fw_cfg is quite widely used (see patch #4). Cc: "Gabriel L. Somlo" <so...@cmu.edu> Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Alexander Graf <ag...@suse.de> Cc: Anthony Perard <anthony.per...@citrix.com> Cc: Artyom Tarasenko <atar4q...@gmail.com> Cc: David Gibson <da...@gibson.dropbear.id.au> Cc: Eduardo Habkost <ehabk...@redhat.com> Cc: Gerd Hoffmann <kra...@redhat.com> Cc: Igor Mammedov <imamm...@redhat.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> Cc: Michael Walle <mich...@walle.cc> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Peter Maydell <peter.mayd...@linaro.org> Cc: Shannon Zhao <zhaoshengl...@huawei.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: qemu-...@nongnu.org Thanks Laszlo Eduardo Habkost (1): pc: Add 2.9 machine-types Laszlo Ersek (2): fw-cfg: turn FW_CFG_FILE_SLOTS into a device property fw-cfg: bump "file_slots" to 0x20 for 2.9+ machine types Michael S. Tsirkin (1): fw-cfg: support writeable blobs docs/specs/fw_cfg.txt | 36 ++++++++++---- hw/lm32/lm32_hwsetup.h | 2 +- include/hw/compat.h | 10 +++- include/hw/i386/pc.h | 2 + include/hw/loader.h | 7 +-- include/hw/nvram/fw_cfg.h | 3 +- include/hw/nvram/fw_cfg_keys.h | 3 +- hw/arm/virt-acpi-build.c | 2 +- hw/core/loader.c | 18 ++++--- hw/i386/acpi-build.c | 4 +- hw/i386/pc_piix.c | 15 ++++-- hw/i386/pc_q35.c | 13 ++++- hw/nvram/fw_cfg.c | 110 +++++++++++++++++++++++++++++++++++------ 13 files changed, 177 insertions(+), 48 deletions(-) -- 2.9.3