XSDT support allows using ACPI 2 features while avoiding breaking legacy windows XP guests: ACPI 2 tables are linked from XSDT only, ACPI 1 tables from both RSDT and XSDT, this way XP does not see ACPI 2 tables.
As a first step, this patchset generates v2 RSDP and fills in XSDT matching RSDT exactly. ARM can switch to XSDT as well, I'm not bothering until there's an easy way to test that. Note: unit test files need to be updated with this, I'm not bothering with posting them. Changes from v1: xsdt address is 64 bit arm patch is now tested Michael S. Tsirkin (4): acpi: add API for 64 bit offsets i386/acpi: collect 64 bit offsets for xsdt i386/acpi: add XSDT acpi: unify rsdp generation include/hw/acpi/acpi-defs.h | 15 +++++-- include/hw/acpi/aml-build.h | 7 +++- hw/acpi/aml-build.c | 99 +++++++++++++++++++++++++++++++++++++-------- hw/arm/virt-acpi-build.c | 39 +++--------------- hw/i386/acpi-build.c | 64 +++++++++++------------------ 5 files changed, 129 insertions(+), 95 deletions(-) -- MST