28f2e1
From a9b5da617c29f48199cbea08d6a1c083877dce10 Mon Sep 17 00:00:00 2001
28f2e1
From: Laurent Vivier <lvivier@redhat.com>
28f2e1
Date: Mon, 15 Nov 2021 14:22:29 +0100
28f2e1
Subject: compat: Update hw_compat_rhel_8_5
28f2e1
28f2e1
RH-Author: Laurent Vivier <lvivier@redhat.com>
28f2e1
RH-MergeRequest: 66: redhat: Update pseries-rhel8.5.0 machine type
28f2e1
RH-Commit: [1/2] 232f2ad2b29d250fbdb8fcea9d814704c575ba2b
28f2e1
RH-Bugzilla: 2022608
28f2e1
RH-Acked-by: Eric Auger <eric.auger@redhat.com>
28f2e1
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
28f2e1
RH-Acked-by: Greg Kurz <gkurz@redhat.com>
28f2e1
28f2e1
Add properties from hw_compat_6_1 as it already includes the ones from
28f2e1
hw_compat_6_0. Add a lately added property from 6.0 too.
28f2e1
28f2e1
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
28f2e1
--
28f2e1
Rebase notes (6.2.0 rc3):
28f2e1
- Included compatc changes introduced in RC2
28f2e1
---
28f2e1
 hw/core/machine.c | 8 +++++++-
28f2e1
 1 file changed, 7 insertions(+), 1 deletion(-)
28f2e1
28f2e1
diff --git a/hw/core/machine.c b/hw/core/machine.c
28f2e1
index 62febde5aa..736c765c30 100644
28f2e1
--- a/hw/core/machine.c
28f2e1
+++ b/hw/core/machine.c
28f2e1
@@ -38,7 +38,7 @@
28f2e1
 #include "hw/virtio/virtio-pci.h"
28f2e1
 
28f2e1
 /*
28f2e1
- * Mostly the same as hw_compat_6_0
28f2e1
+ * Mostly the same as hw_compat_6_0 and hw_compat_6_1
28f2e1
  */
28f2e1
 GlobalProperty hw_compat_rhel_8_5[] = {
28f2e1
     /* hw_compat_rhel_8_5 from hw_compat_6_0 */
28f2e1
@@ -51,6 +51,12 @@ GlobalProperty hw_compat_rhel_8_5[] = {
28f2e1
     { "e1000", "init-vet", "off" },
28f2e1
     /* hw_compat_rhel_8_5 from hw_compat_6_0 */
28f2e1
     { "e1000e", "init-vet", "off" },
28f2e1
+    /* hw_compat_rhel_8_5 from hw_compat_6_0 */
28f2e1
+    { "vhost-vsock-device", "seqpacket", "off" },
28f2e1
+    /* hw_compat_rhel_8_5 from hw_compat_6_1 */
28f2e1
+    { "vhost-user-vsock-device", "seqpacket", "off" },
28f2e1
+    /* hw_compat_rhel_8_5 from hw_compat_6_1 */
28f2e1
+    { "nvme-ns", "shared", "off" },
28f2e1
 };
28f2e1
 const size_t hw_compat_rhel_8_5_len = G_N_ELEMENTS(hw_compat_rhel_8_5);
28f2e1
 
28f2e1
-- 
28f2e1
2.27.0
28f2e1