diff options
| author | Igor Mammedov | 2017-12-29 16:16:38 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2018-01-18 20:52:38 +0100 |
| commit | b24b9d947243c1108b958e544d48ec69d4dfbb2f (patch) | |
| tree | 000ec25ac31e79fff00814328db03aeffa1e2c49 /include | |
| parent | x86_iommu: check if machine has PCI bus (diff) | |
| download | qemu-b24b9d947243c1108b958e544d48ec69d4dfbb2f.tar.gz qemu-b24b9d947243c1108b958e544d48ec69d4dfbb2f.tar.xz qemu-b24b9d947243c1108b958e544d48ec69d4dfbb2f.zip | |
tests: acpi: move tested tables array allocation outside of test_acpi_dsdt_table()
at best it's confusing that array for list of tables to be tested
against reference tables is allocated within test_acpi_dsdt_table()
and at worst it would just overwrite list of tables if they were
added before test_acpi_dsdt_table().
Move array initialization to test_acpi_one() before we start
processing tables.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
