Re: [PATCH v3] acpi: Permit OEM ID and OEM table ID fields to be changed

2021-01-11 Thread Marian Posteuca
Igor Mammedov writes: > overall looks good. > Please add a test case for it, see > tests/qtest/bios-tables-test.c for description how to do it > an/or at > "[PATCH v3 08/12] tests/acpi: allow updates for expected data files" > and follow up patches on the list. When you say add a test case, do

[PATCH v3] acpi: Permit OEM ID and OEM table ID fields to be changed

2020-12-30 Thread Marian Posteuca
one missing. Note that the the OEM Table ID field will not be extended with the name of the table, but will use either the default name or the user provided one. This does not affect the -acpitable option (for user-defined ACPI tables), which has precedence over -machine option. Signed-off-by:

Re: [PATCH v2] acpi: Permit OEM ID and OEM table ID fields to be changed

2020-12-27 Thread Marian Posteuca
Paolo Bonzini writes: > On 22/12/20 16:39, Marian Posteuca wrote: >>>> Qemu's ACPI table generation sets the fields OEM ID and OEM table ID >>>> to "BOCHS " and "BXPC" where "" is replaced by the ACPI >>>> table na

Re: [PATCH v2] acpi: Permit OEM ID and OEM table ID fields to be changed

2020-12-23 Thread Marian Posteuca
Thanks for the thorough review. Igor Mammedov writes: > On Tue, 22 Dec 2020 13:33:53 +0200 > Marian Posteuca wrote: > > I see defaults are now initialized in pcmc->oem_[table_]id fields, > and sometimes used from there, so question is why > do we need use_sig_oem

Re: [PATCH v2] acpi: Permit OEM ID and OEM table ID fields to be changed

2020-12-22 Thread Marian Posteuca
Michael Tokarev writes: > 22.12.2020 14:33, Marian Posteuca wrote: >> Qemu's ACPI table generation sets the fields OEM ID and OEM table ID >> to "BOCHS " and "BXPC" where "" is replaced by the ACPI >> table name. >> >>

[PATCH v2] acpi: Permit OEM ID and OEM table ID fields to be changed

2020-12-22 Thread Marian Posteuca
ACPI tables), which has precedence over -machine option. Signed-off-by: Marian Posteuca --- hw/acpi/hmat.h | 3 +- hw/i386/acpi-common.h | 3 +- include/hw/acpi/aml-build.h | 12 +++-- include/hw/acpi/pci.h | 3 +- include/hw/acpi/vmgenid.h | 2 +- include/hw/i386/pc.h

[PATCH] acpi: Permit OEM ID and OEM table ID fields to be changed

2020-12-06 Thread Marian Posteuca
ed ACPI tables), which has precedence over -acpidefault option. Signed-off-by: Marian Posteuca --- hw/acpi/aml-build.c | 51 +++--- hw/arm/virt-acpi-build.c| 2 +- hw/i386/acpi-build.c| 2 +- hw/i386/acpi-microvm.c | 2 +- include/hw/acpi/