thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-tests-acpi-whitelist-nvdimm-s-SSDT-and-FACP.slic-exp.patch

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