thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

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

4841a6
From 4e6482073df85db5982aa03ab0355e632b7157fc Mon Sep 17 00:00:00 2001
4841a6
From: Jon Maloy <jmaloy@redhat.com>
4841a6
Date: Wed, 30 Mar 2022 14:52:34 -0400
4841a6
Subject: [PATCH 10/18] tests: acpi: whitelist expected blobs before changing
60061b
 them
60061b
4841a6
RH-Author: Jon Maloy <jmaloy@redhat.com>
4841a6
RH-MergeRequest: 141: acpi: fix QEMU crash when started with SLIC table
4841a6
RH-Commit: [2/10] c664ecad30ca9c13025a63bb31ae7b80fd63e4df (jmaloy/qemu-kvm)
4841a6
RH-Bugzilla: 2062611
4841a6
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
4841a6
4841a6
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2062611
4841a6
Upstream: Merged
4841a6
4841a6
commit e71f6ab9d93a7d01e833647e7010c1079c4cef30
4841a6
Author: Igor Mammedov <imammedo@redhat.com>
4841a6
Date:   Mon Dec 27 14:31:18 2021 -0500
4841a6
4841a6
    tests: acpi: whitelist expected blobs before changing them
4841a6
4841a6
    Signed-off-by: Igor Mammedov <imammedo@redhat.com>
4841a6
    Message-Id: <20211227193120.1084176-3-imammedo@redhat.com>
4841a6
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
4841a6
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
4841a6
60061b
(cherry picked from commit e71f6ab9d93a7d01e833647e7010c1079c4cef30)
4841a6
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
60061b
---
60061b
 tests/data/acpi/q35/FACP.slic               | Bin 0 -> 244 bytes
60061b
 tests/data/acpi/q35/SLIC.slic               |   0
60061b
 tests/qtest/bios-tables-test-allowed-diff.h |   2 ++
60061b
 3 files changed, 2 insertions(+)
60061b
 create mode 100644 tests/data/acpi/q35/FACP.slic
60061b
 create mode 100644 tests/data/acpi/q35/SLIC.slic
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..49dbf8fa3e 100644
60061b
--- a/tests/qtest/bios-tables-test-allowed-diff.h
60061b
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
60061b
@@ -1 +1,3 @@
60061b
 /* List of comma-separated changed AML files to ignore */
60061b
+"tests/data/acpi/q35/FACP.slic",
60061b
+"tests/data/acpi/q35/SLIC.slic",
60061b
-- 
60061b
2.27.0
60061b