2020-07-15 20:28:51 +00:00
|
|
|
From f8f3c2d598ca5921b6a5d477e848f02977c715fd Mon Sep 17 00:00:00 2001
|
2020-07-08 13:37:45 +00:00
|
|
|
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
2020-07-15 20:28:51 +00:00
|
|
|
Date: Fri, 19 Jun 2020 15:42:26 -0400
|
2020-07-08 13:37:45 +00:00
|
|
|
Subject: redhat: define hw_compat_8_2
|
|
|
|
|
|
|
|
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
|
Message-id: <20200619154227.23845-2-dgilbert@redhat.com>
|
|
|
|
Patchwork-id: 97662
|
|
|
|
O-Subject: [RHEL-AV 8.3.0 qemu-kvm PATCH 1/2] redhat: define hw_compat_8_2
|
|
|
|
Bugzilla: 1842902
|
2020-07-14 14:45:56 +00:00
|
|
|
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
|
2020-07-08 13:37:45 +00:00
|
|
|
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
|
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
|
|
|
|
|
From: Laurent Vivier <lvivier@redhat.com>
|
|
|
|
|
|
|
|
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
|
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
|
For minor fix
|
2020-07-15 20:28:51 +00:00
|
|
|
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
2020-07-08 13:37:45 +00:00
|
|
|
---
|
|
|
|
hw/core/machine.c | 28 ++++++++++++++++++++++++++++
|
|
|
|
include/hw/boards.h | 3 +++
|
|
|
|
2 files changed, 31 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/hw/core/machine.c b/hw/core/machine.c
|
2020-07-15 20:28:51 +00:00
|
|
|
index ef6b320ea7..b8373991e9 100644
|
2020-07-08 13:37:45 +00:00
|
|
|
--- a/hw/core/machine.c
|
|
|
|
+++ b/hw/core/machine.c
|
2020-07-15 20:28:51 +00:00
|
|
|
@@ -28,6 +28,34 @@
|
|
|
|
#include "hw/mem/nvdimm.h"
|
2020-07-08 13:37:45 +00:00
|
|
|
#include "migration/vmstate.h"
|
|
|
|
|
2020-07-15 20:28:51 +00:00
|
|
|
+/*
|
2020-07-08 13:37:45 +00:00
|
|
|
+ * The same as hw_compat_4_2
|
|
|
|
+ */
|
|
|
|
+GlobalProperty hw_compat_rhel_8_2[] = {
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "virtio-blk-device", "queue-size", "128"},
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "virtio-scsi-device", "virtqueue_size", "128"},
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "virtio-blk-device", "x-enable-wce-if-config-wce", "off" },
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "virtio-blk-device", "seg-max-adjust", "off"},
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "virtio-scsi-device", "seg_max_adjust", "off"},
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "vhost-blk-device", "seg_max_adjust", "off"},
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "usb-host", "suppress-remote-wake", "off" },
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "usb-redir", "suppress-remote-wake", "off" },
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "qxl", "revision", "4" },
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "qxl-vga", "revision", "4" },
|
|
|
|
+ /* hw_compat_rhel_8_2 from hw_compat_4_2 */
|
|
|
|
+ { "fw_cfg", "acpi-mr-restore", "false" },
|
|
|
|
+};
|
|
|
|
+const size_t hw_compat_rhel_8_2_len = G_N_ELEMENTS(hw_compat_rhel_8_2);
|
2020-07-15 20:28:51 +00:00
|
|
|
/*
|
2020-07-08 13:37:45 +00:00
|
|
|
* The same as hw_compat_4_1
|
|
|
|
*/
|
|
|
|
diff --git a/include/hw/boards.h b/include/hw/boards.h
|
2020-07-15 20:28:51 +00:00
|
|
|
index c3577319c0..f918a15c66 100644
|
2020-07-08 13:37:45 +00:00
|
|
|
--- a/include/hw/boards.h
|
|
|
|
+++ b/include/hw/boards.h
|
2020-07-14 14:45:56 +00:00
|
|
|
@@ -375,6 +375,9 @@ extern const size_t hw_compat_2_2_len;
|
2020-07-08 13:37:45 +00:00
|
|
|
extern GlobalProperty hw_compat_2_1[];
|
|
|
|
extern const size_t hw_compat_2_1_len;
|
|
|
|
|
|
|
|
+extern GlobalProperty hw_compat_rhel_8_2[];
|
|
|
|
+extern const size_t hw_compat_rhel_8_2_len;
|
|
|
|
+
|
|
|
|
extern GlobalProperty hw_compat_rhel_8_1[];
|
|
|
|
extern const size_t hw_compat_rhel_8_1_len;
|
|
|
|
|
|
|
|
--
|
2020-07-15 20:28:51 +00:00
|
|
|
2.27.0
|
2020-07-08 13:37:45 +00:00
|
|
|
|