While rebasing Michael's patch at <http://lists.nongnu.org/archive/html/qemu-devel/2016-03/msg02735.html> to current master, I noticed something was wrong with rom_add_blob() in current master. I'm proposing these fixes.
Thanks Laszlo Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Alistair Francis <alistair.fran...@xilinx.com> Cc: Igor Mammedov <imamm...@redhat.com> 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: qemu-...@nongnu.org Cc: qemu-devel@nongnu.org Laszlo Ersek (2): loader: fix handling of custom address spaces when adding ROM blobs loader: fix undefined behavior in rom_order_compare() hw/lm32/lm32_hwsetup.h | 2 +- include/hw/loader.h | 6 +++--- hw/arm/virt-acpi-build.c | 2 +- hw/core/loader.c | 6 ++++-- hw/i386/acpi-build.c | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) -- 2.9.2