summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorIgor Mammedov2018-12-27 15:13:32 +0100
committerMichael S. Tsirkin2019-01-18 03:10:57 +0100
commit3314778d8834a9c446b14b340dbb0fdf07d01975 (patch)
treefafe2e98175f46b81d0be1267b9207723b3a55cc /exec.c
parenttests: acpi: reuse fetch_table() in vmgenid-test (diff)
downloadqemu-3314778d8834a9c446b14b340dbb0fdf07d01975.tar.gz
qemu-3314778d8834a9c446b14b340dbb0fdf07d01975.tar.xz
qemu-3314778d8834a9c446b14b340dbb0fdf07d01975.zip
tests: smbios: fetch whole table in one step instead of reading it step by step
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 <imammedo@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions