diff options
author | Igor Mammedov | 2019-05-02 16:51:58 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2019-05-21 00:40:02 +0200 |
commit | ce513b46151398fc4dad853dbfc744ee3e2b7a35 (patch) | |
tree | c0ad4407979ac82c8c1c2d511ace7a52bb1bb3ce | |
parent | tests: acpi: add a way to start tests with UEFI firmware (diff) | |
download | qemu-ce513b46151398fc4dad853dbfc744ee3e2b7a35.tar.gz qemu-ce513b46151398fc4dad853dbfc744ee3e2b7a35.tar.xz qemu-ce513b46151398fc4dad853dbfc744ee3e2b7a35.zip |
tests: acpi: ignore SMBIOS tests when UEFI firmware is used
once FW provides a pointer to SMBIOS entry point like it does for
RSDP it should be possible to enable this one the same way.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <1556808723-226478-11-git-send-email-imammedo@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r-- | tests/bios-tables-test.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 84e1ce2972..8302ffc2cd 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -569,8 +569,15 @@ static void test_acpi_one(const char *params, test_data *data) } } - test_smbios_entry_point(data); - test_smbios_structs(data); + /* + * TODO: make SMBIOS tests work with UEFI firmware, + * Bug on uefi-test-tools to provide entry point: + * https://bugs.launchpad.net/qemu/+bug/1821884 + */ + if (!use_uefi) { + test_smbios_entry_point(data); + test_smbios_structs(data); + } assert(!global_qtest); qtest_quit(data->qts); |