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