|
|
febaa2 |
From 43c4b9bea61ab636fc495386877aa0da27649eea Mon Sep 17 00:00:00 2001
|
|
|
febaa2 |
From: Greg Kurz <gkurz@redhat.com>
|
|
|
febaa2 |
Date: Mon, 27 Sep 2021 10:02:46 +0200
|
|
|
febaa2 |
Subject: [PATCH 2/4] redhat: Define hw_compat_rhel_8_5
|
|
|
febaa2 |
MIME-Version: 1.0
|
|
|
febaa2 |
Content-Type: text/plain; charset=UTF-8
|
|
|
febaa2 |
Content-Transfer-Encoding: 8bit
|
|
|
febaa2 |
|
|
|
febaa2 |
RH-Author: Greg Kurz <gkurz@redhat.com>
|
|
|
febaa2 |
RH-MergeRequest: 43: redhat: Add machine type compatibility update for 6.1 rebase [ppc64le]
|
|
|
febaa2 |
RH-Commit: [1/2] d031e23ab1b97f13c1e24794caf950221487ee43
|
|
|
febaa2 |
RH-Bugzilla: 1998949
|
|
|
febaa2 |
RH-Acked-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
|
febaa2 |
RH-Acked-by: David Gibson (Red Hat) <dgibson@redhat.com>
|
|
|
febaa2 |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
febaa2 |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
febaa2 |
|
|
|
febaa2 |
The QEMU 6.1 rebase changed the default value of some properties
|
|
|
febaa2 |
for existing machine types. Prepare ground by introducing
|
|
|
febaa2 |
hw_compat_rhel_8_5.
|
|
|
febaa2 |
|
|
|
febaa2 |
Signed-off-by: Greg Kurz <gkurz@redhat.com>
|
|
|
febaa2 |
---
|
|
|
febaa2 |
hw/core/machine.c | 17 +++++++++++++++++
|
|
|
febaa2 |
include/hw/boards.h | 3 +++
|
|
|
febaa2 |
2 files changed, 20 insertions(+)
|
|
|
febaa2 |
|
|
|
febaa2 |
diff --git a/hw/core/machine.c b/hw/core/machine.c
|
|
|
febaa2 |
index 4601281b9c..6276c30161 100644
|
|
|
febaa2 |
--- a/hw/core/machine.c
|
|
|
febaa2 |
+++ b/hw/core/machine.c
|
|
|
febaa2 |
@@ -37,6 +37,23 @@
|
|
|
febaa2 |
#include "hw/virtio/virtio.h"
|
|
|
febaa2 |
#include "hw/virtio/virtio-pci.h"
|
|
|
febaa2 |
|
|
|
febaa2 |
+/*
|
|
|
febaa2 |
+ * Mostly the same as hw_compat_6_0
|
|
|
febaa2 |
+ */
|
|
|
febaa2 |
+GlobalProperty hw_compat_rhel_8_5[] = {
|
|
|
febaa2 |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
febaa2 |
+ { "gpex-pcihost", "allow-unmapped-accesses", "false" },
|
|
|
febaa2 |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
febaa2 |
+ { "i8042", "extended-state", "false"},
|
|
|
febaa2 |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
febaa2 |
+ { "nvme-ns", "eui64-default", "off"},
|
|
|
febaa2 |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
febaa2 |
+ { "e1000", "init-vet", "off" },
|
|
|
febaa2 |
+ /* hw_compat_rhel_8_5 from hw_compat_6_0 */
|
|
|
febaa2 |
+ { "e1000e", "init-vet", "off" },
|
|
|
febaa2 |
+};
|
|
|
febaa2 |
+const size_t hw_compat_rhel_8_5_len = G_N_ELEMENTS(hw_compat_rhel_8_5);
|
|
|
febaa2 |
+
|
|
|
febaa2 |
/*
|
|
|
febaa2 |
* Mostly the same as hw_compat_5_2
|
|
|
febaa2 |
*/
|
|
|
febaa2 |
diff --git a/include/hw/boards.h b/include/hw/boards.h
|
|
|
febaa2 |
index b860b30c13..b35cb3413a 100644
|
|
|
febaa2 |
--- a/include/hw/boards.h
|
|
|
febaa2 |
+++ b/include/hw/boards.h
|
|
|
febaa2 |
@@ -418,6 +418,9 @@ extern const size_t hw_compat_2_2_len;
|
|
|
febaa2 |
extern GlobalProperty hw_compat_2_1[];
|
|
|
febaa2 |
extern const size_t hw_compat_2_1_len;
|
|
|
febaa2 |
|
|
|
febaa2 |
+extern GlobalProperty hw_compat_rhel_8_5[];
|
|
|
febaa2 |
+extern const size_t hw_compat_rhel_8_5_len;
|
|
|
febaa2 |
+
|
|
|
febaa2 |
extern GlobalProperty hw_compat_rhel_8_4[];
|
|
|
febaa2 |
extern const size_t hw_compat_rhel_8_4_len;
|
|
|
febaa2 |
|
|
|
febaa2 |
--
|
|
|
febaa2 |
2.18.2
|
|
|
febaa2 |
|