thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-tests-acpi-whitelist-expected-blobs-before-changing-.patch

495e37
From 9d8ab705fb0ffc55e78c22f4dd79c4c57437532e Mon Sep 17 00:00:00 2001
495e37
From: Igor Mammedov <imammedo@redhat.com>
495e37
Date: Mon, 27 Dec 2021 14:31:18 -0500
495e37
Subject: [PATCH 06/14] tests: acpi: whitelist expected blobs before changing
495e37
 them
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: [2/10] 677ac6f62a40479f88cc0d47bfece74bb39ae7a7
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
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
495e37
Message-Id: <20211227193120.1084176-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 e71f6ab9d93a7d01e833647e7010c1079c4cef30)
495e37
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
495e37
---
495e37
 tests/data/acpi/q35/FACP.slic               | Bin 0 -> 244 bytes
495e37
 tests/data/acpi/q35/SLIC.slic               |   0
495e37
 tests/qtest/bios-tables-test-allowed-diff.h |   2 ++
495e37
 3 files changed, 2 insertions(+)
495e37
 create mode 100644 tests/data/acpi/q35/FACP.slic
495e37
 create mode 100644 tests/data/acpi/q35/SLIC.slic
495e37
495e37
diff --git a/tests/data/acpi/q35/SLIC.slic b/tests/data/acpi/q35/SLIC.slic
495e37
new file mode 100644
495e37
index 0000000000..e69de29bb2
495e37
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
495e37
index dfb8523c8b..49dbf8fa3e 100644
495e37
--- a/tests/qtest/bios-tables-test-allowed-diff.h
495e37
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
495e37
@@ -1 +1,3 @@
495e37
 /* List of comma-separated changed AML files to ignore */
495e37
+"tests/data/acpi/q35/FACP.slic",
495e37
+"tests/data/acpi/q35/SLIC.slic",
495e37
-- 
495e37
2.31.1
495e37