Re: [PATCH 6/8] hw/i386/acpi-build: Determine SMI command port just once

2023-08-28 Thread Philippe Mathieu-Daudé
On 28/8/23 09:36, Bernhard Beschow wrote: The SMI command port is currently hardcoded by means of the ACPI_PORT_SMI_CMD macro. This hardcoding is Intel specific and doesn't match VIA, for example. There is already the AcpiFadtData::smi_cmd attribute which is used when building the FADT. Let's als

[PATCH 6/8] hw/i386/acpi-build: Determine SMI command port just once

2023-08-28 Thread Bernhard Beschow
The SMI command port is currently hardcoded by means of the ACPI_PORT_SMI_CMD macro. This hardcoding is Intel specific and doesn't match VIA, for example. There is already the AcpiFadtData::smi_cmd attribute which is used when building the FADT. Let's also use it when building the DSDT which confin