Re: [Qemu-devel] [PATCH v2 6/8] tests: smbios: fetch whole table in one step instead of reading it step by step

2018-12-28 Thread Philippe Mathieu-Daudé
On 12/27/18 3:13 PM, Igor Mammedov wrote: > replace a bunch of ACPI_READ_ARRAY/ACPI_READ_FIELD macro, that read > SMBIOS table field by field with one memread() to fetch whole table > at once and drop no longer used ACPI_READ_ARRAY/ACPI_READ_FIELD macro. > > Signed-off-by: Igor Mammedov Reviewed

[Qemu-devel] [PATCH v2 6/8] tests: smbios: fetch whole table in one step instead of reading it step by step

2018-12-27 Thread Igor Mammedov
replace a bunch of ACPI_READ_ARRAY/ACPI_READ_FIELD macro, that read SMBIOS table field by field with one memread() to fetch whole table at once and drop no longer used ACPI_READ_ARRAY/ACPI_READ_FIELD macro. Signed-off-by: Igor Mammedov --- V2: rebase: s/memread/qtest_memread/ --- tests/acpi-ut