yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

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