cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
495e37
From 667b82b02f7f3a1e5c37e3ff77b146cc3fd9da80 Mon Sep 17 00:00:00 2001
495e37
From: Igor Mammedov <imammedo@redhat.com>
495e37
Date: Wed, 12 Jan 2022 08:03:30 -0500
495e37
Subject: [PATCH 10/14] tests: acpi: whitelist nvdimm's SSDT and FACP.slic
495e37
 expected blobs
495e37
495e37
RH-Author: Igor Mammedov <imammedo@redhat.com>
495e37
RH-MergeRequest: 130: acpi: fix QEMU crash when started with SLIC table
495e37
RH-Commit: [6/10] 9b35b82e26499de3b7bdc0cdd089fda0a8ec031a
495e37
RH-Bugzilla: 2043531
495e37
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
495e37
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
495e37
RH-Acked-by: MST <None>
495e37
495e37
The next commit will revert OEM fields whitespace padding to
495e37
padding with '\0' as it was before [1]. That will change OEM
495e37
Table ID for:
495e37
  * SSDT.*: where it was padded from 6 characters to 8
495e37
  * FACP.slic: where it was padded from 2 characters to 8
495e37
after reverting whitespace padding, it will be replaced with
495e37
'\0' which effectively will shorten OEM table ID to 6 and 2
495e37
characters.
495e37
495e37
Whitelist affected tables before introducing the change.
495e37
495e37
1) 602b458201 ("acpi: Permit OEM ID and OEM table ID fields to be changed")
495e37
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
495e37
Message-Id: <20220112130332.1648664-3-imammedo@redhat.com>
495e37
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
495e37
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
495e37
(cherry picked from commit d1e4a4654154925eddf0fc449fa9c92b806b9c8c)
495e37
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
495e37
---
495e37
 tests/qtest/bios-tables-test-allowed-diff.h | 4 ++++
495e37
 1 file changed, 4 insertions(+)
495e37
495e37
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
495e37
index dfb8523c8b..7faa8f53be 100644
495e37
--- a/tests/qtest/bios-tables-test-allowed-diff.h
495e37
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
495e37
@@ -1 +1,5 @@
495e37
 /* List of comma-separated changed AML files to ignore */
495e37
+"tests/data/acpi/virt/SSDT.memhp",
495e37
+"tests/data/acpi/pc/SSDT.dimmpxm",
495e37
+"tests/data/acpi/q35/SSDT.dimmpxm",
495e37
+"tests/data/acpi/q35/FACP.slic",
495e37
-- 
495e37
2.31.1
495e37