thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/0025-compat-Update-hw_compat_rhel_8_5-with-6.2.0-RC2-chan.patch

495e37
From 168f0d56e3a37a7d5fcc59483e2b1181824a23d2 Mon Sep 17 00:00:00 2001
495e37
From: Miroslav Rezanina <mrezanin@redhat.com>
495e37
Date: Wed, 24 Nov 2021 23:51:52 -0500
495e37
Subject: compat: Update hw_compat_rhel_8_5 with 6.2.0 RC2 changes
495e37
495e37
In RC2 nvme-ns 'shared' default was changed (commit 916b0f0b52).
495e37
495e37
Adding compat record for RHEL 8.5.0 so we keep it off for downstream
495e37
machinetypes.
495e37
495e37
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
495e37
---
495e37
 hw/core/machine.c | 2 ++
495e37
 1 file changed, 2 insertions(+)
495e37
495e37
diff --git a/hw/core/machine.c b/hw/core/machine.c
495e37
index 448a8dd127..669d3d8b91 100644
495e37
--- a/hw/core/machine.c
495e37
+++ b/hw/core/machine.c
495e37
@@ -55,6 +55,8 @@ GlobalProperty hw_compat_rhel_8_5[] = {
495e37
     { "vhost-vsock-device", "seqpacket", "off" },
495e37
     /* hw_compat_rhel_8_5 from hw_compat_6_1 */
495e37
     { "vhost-user-vsock-device", "seqpacket", "off" },
495e37
+    /* hw_compat_rhel_8_5 from hw_compat_6_1 */
495e37
+    { "nvme-ns", "shared", "off" },
495e37
 };
495e37
 const size_t hw_compat_rhel_8_5_len = G_N_ELEMENTS(hw_compat_rhel_8_5);
495e37
 
495e37
-- 
495e37
2.27.0
495e37