thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-redhat-Enable-virtio-mem-as-tech-preview-on-x86-64.patch

8b0a28
From 24b44713de4b2a47c42dfeea813c8911694367a0 Mon Sep 17 00:00:00 2001
8b0a28
From: David Hildenbrand <david@redhat.com>
8b0a28
Date: Fri, 17 Dec 2021 10:00:53 +0100
8b0a28
Subject: [PATCH 2/2] redhat: Enable virtio-mem as tech-preview on x86-64
8b0a28
MIME-Version: 1.0
8b0a28
Content-Type: text/plain; charset=UTF-8
8b0a28
Content-Transfer-Encoding: 8bit
8b0a28
8b0a28
RH-Author: David Hildenbrand <david@redhat.com>
8b0a28
RH-MergeRequest: 56: redhat: Enable virtio-mem as tech-preview on x86-64
8b0a28
RH-Commit: [1/1] 255749cd877b91ce1978b67a088f7c0e181fd85e
8b0a28
RH-Bugzilla: 2014484
8b0a28
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
8b0a28
RH-Acked-by: Thomas Huth <thuth@redhat.com>
8b0a28
RH-Acked-by: Gavin Shan <gshan@redhat.com>
8b0a28
8b0a28
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2014484
8b0a28
Upstream-status: RHEL-only
8b0a28
8b0a28
Everything necesssary for tech-preview of virtio-mem in RHEL9 is
8b0a28
included in QEMU v6.2. Let's enable it via the config option
8b0a28
CONFIG_VIRTIO_MEM on x86-64.
8b0a28
8b0a28
Signed-off-by: David Hildenbrand <david@redhat.com>
8b0a28
---
8b0a28
 configs/devices/x86_64-softmmu/x86_64-rh-devices.mak | 1 +
8b0a28
 1 file changed, 1 insertion(+)
8b0a28
8b0a28
diff --git a/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak b/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak
8b0a28
index 1f7a9ab024..dc03fbb671 100644
8b0a28
--- a/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak
8b0a28
+++ b/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak
8b0a28
@@ -88,6 +88,7 @@ CONFIG_VGA_CIRRUS=y
8b0a28
 CONFIG_VGA_PCI=y
8b0a28
 CONFIG_VHOST_USER=y
8b0a28
 CONFIG_VHOST_USER_BLK=y
8b0a28
+CONFIG_VIRTIO_MEM=y
8b0a28
 CONFIG_VIRTIO_PCI=y
8b0a28
 CONFIG_VIRTIO_VGA=y
8b0a28
 CONFIG_VMMOUSE=y
8b0a28
-- 
8b0a28
2.27.0
8b0a28