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