Fix and cleanup initializing the maximum size of mutable ACPI blobs. v1/v2 -> v3: - 'acpi: Set proper maximum size for "etc/table-loader" blob' -- Move "etc/table-loader" change to separate patch -- Extend description -- Fixup maximum size (now really use 64k) - Add some patches to cleanup/refactor the code. I avoided using a new enum for the different tables for now, using the table names should be good enough and is simple.
David Hildenbrand (4): acpi: Set proper maximum size for "etc/table-loader" blob microvm: Don't open-code "etc/table-loader" acpi: Move maximum size logic into acpi_add_rom_blob() acpi: Set proper maximum size for "etc/acpi/rsdp" blob hw/acpi/utils.c | 17 +++++++++++++++-- hw/arm/virt-acpi-build.c | 12 ++++++------ hw/i386/acpi-build.c | 7 +++---- hw/i386/acpi-microvm.c | 16 ++++++---------- include/hw/acpi/aml-build.h | 3 --- include/hw/acpi/utils.h | 3 +-- 6 files changed, 31 insertions(+), 27 deletions(-) -- 2.29.2
