diff options
| author | Igor Mammedov | 2018-12-27 15:13:32 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-01-18 03:10:57 +0100 |
| commit | 3314778d8834a9c446b14b340dbb0fdf07d01975 (patch) | |
| tree | fafe2e98175f46b81d0be1267b9207723b3a55cc /exec.c | |
| parent | tests: acpi: reuse fetch_table() in vmgenid-test (diff) | |
| download | qemu-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
