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" <[email protected]> Cc: Alistair Francis <[email protected]> Cc: Igor Mammedov <[email protected]> Cc: Michael Walle <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Peter Maydell <[email protected]> Cc: Shannon Zhao <[email protected]> Cc: [email protected] Cc: [email protected] 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
