|
|
77609c |
From 1f0a5d3ae9c835e35b83cf8bbedd0f814df3451d Mon Sep 17 00:00:00 2001
|
|
|
77609c |
From: Greg Kurz <gkurz@redhat.com>
|
|
|
77609c |
Date: Mon, 27 Sep 2021 10:02:46 +0200
|
|
|
77609c |
Subject: [PATCH 1/2] redhat: Define hw_compat_rhel_8_5
|
|
|
77609c |
MIME-Version: 1.0
|
|
|
77609c |
Content-Type: text/plain; charset=UTF-8
|
|
|
77609c |
Content-Transfer-Encoding: 8bit
|
|
|
77609c |
|
|
|
77609c |
RH-Author: Thomas Huth <thuth@redhat.com>
|
|
|
77609c |
RH-MergeRequest: 45: Add s390x machine type compatibility update for 6.1 rebase
|
|
|
77609c |
RH-Commit: [1/2] 5d304edf2bee7abc57843deb9e5d85ab5f19a34c (thuth/qemu-kvm-cs9)
|
|
|
77609c |
RH-Bugzilla: 1998943
|
|
|
77609c |
RH-Acked-by: Greg Kurz <gkurz@redhat.com>
|
|
|
77609c |
RH-Acked-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
|
77609c |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
77609c |
RH-Acked-by: David Hildenbrand <david@redhat.com>
|
|
|
77609c |
|
|
|
77609c |
The QEMU 6.1 rebase changed the default value of some properties
|
|
|
77609c |
for existing machine types. Prepare ground by introducing
|
|
|
77609c |
hw_compat_rhel_8_5.
|
|
|
77609c |
|
|
|
77609c |
Signed-off-by: Greg Kurz <gkurz@redhat.com>
|
|
|
77609c |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1998943
|
|
|
77609c |
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
|
|
77609c |
---
|
|
|
77609c |
hw/core/machine.c | 17 +++++++++++++++++
|
|
|
77609c |
include/hw/boards.h | 3 +++
|
|
|
77609c |
2 files changed, 20 insertions(+)
|
|
|
77609c |
|
|
|
77609c |
diff --git a/hw/core/machine.c b/hw/core/machine.c
|
|
|
77609c |
index d681a06a47..a14503cc30 100644
|
|
|
77609c |
--- a/hw/core/machine.c
|
|
|
77609c |
+++ b/hw/core/machine.c
|
|
|
77609c |
@@ -37,6 +37,23 @@
|
|
|
77609c |
#include "hw/virtio/virtio.h"
|
|
|
77609c |
#include "hw/virtio/virtio-pci.h"
|
|
|
77609c |
|
|
|
77609c |
+/*
|
|
|
77609c |
+ * Mostly the same as hw_compat_6_0
|
|
|
77609c |
+ */
|
|
|
77609c |
+GlobalProperty hw_compat_rhel_8_5[] = {
|
|
|
77609c |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
77609c |
+ { "gpex-pcihost", "allow-unmapped-accesses", "false" },
|
|
|
77609c |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
77609c |
+ { "i8042", "extended-state", "false"},
|
|
|
77609c |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
77609c |
+ { "nvme-ns", "eui64-default", "off"},
|
|
|
77609c |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
77609c |
+ { "e1000", "init-vet", "off" },
|
|
|
77609c |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
77609c |
+ { "e1000e", "init-vet", "off" },
|
|
|
77609c |
+};
|
|
|
77609c |
+const size_t hw_compat_rhel_8_5_len = G_N_ELEMENTS(hw_compat_rhel_8_5);
|
|
|
77609c |
+
|
|
|
77609c |
/*
|
|
|
77609c |
* Mostly the same as hw_compat_5_2
|
|
|
77609c |
*/
|
|
|
77609c |
diff --git a/include/hw/boards.h b/include/hw/boards.h
|
|
|
77609c |
index a2b1681027..7b9208ef7a 100644
|
|
|
77609c |
--- a/include/hw/boards.h
|
|
|
77609c |
+++ b/include/hw/boards.h
|
|
|
77609c |
@@ -418,6 +418,9 @@ extern const size_t hw_compat_2_2_len;
|
|
|
77609c |
extern GlobalProperty hw_compat_2_1[];
|
|
|
77609c |
extern const size_t hw_compat_2_1_len;
|
|
|
77609c |
|
|
|
77609c |
+extern GlobalProperty hw_compat_rhel_8_5[];
|
|
|
77609c |
+extern const size_t hw_compat_rhel_8_5_len;
|
|
|
77609c |
+
|
|
|
77609c |
extern GlobalProperty hw_compat_rhel_8_4[];
|
|
|
77609c |
extern const size_t hw_compat_rhel_8_4_len;
|
|
|
77609c |
|
|
|
77609c |
--
|
|
|
77609c |
2.27.0
|
|
|
77609c |
|