thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 6 months ago
Clone

Blame SOURCES/kvm-configs-devices-aarch64-softmmu-Enable-CONFIG_VIRTIO.patch

29b115
From 3a0e9bb88e82cc76ca5efc0595ce94b5dc34749e Mon Sep 17 00:00:00 2001
29b115
From: Gavin Shan <gshan@redhat.com>
29b115
Date: Mon, 25 Apr 2022 13:42:46 +0800
29b115
Subject: [PATCH 1/2] configs/devices/aarch64-softmmu: Enable CONFIG_VIRTIO_MEM
29b115
29b115
RH-Author: Gavin Shan <gshan@redhat.com>
29b115
RH-MergeRequest: 80: Enable virtio-mem for aarch64
29b115
RH-Commit: [1/1] 1afbd08da6d7c860da8d617a0a932d3660514878 (gwshan/qemu-rhel-9)
29b115
RH-Bugzilla: 2044162
29b115
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
29b115
RH-Acked-by: Eric Auger <eric.auger@redhat.com>
29b115
RH-Acked-by: David Hildenbrand <david@redhat.com>
29b115
29b115
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2044162
29b115
29b115
This enables virtio-mem device on aarch64 since all needed commits
29b115
are ready.
29b115
29b115
    b1b87327a9 hw/arm/virt: Support for virtio-mem-pci
29b115
    1263615efe virtio-mem: Correct default THP size for ARM64
29b115
29b115
Signed-off-by: Gavin Shan <gshan@redhat.com>
29b115
---
29b115
 configs/devices/aarch64-softmmu/aarch64-rh-devices.mak | 1 +
29b115
 1 file changed, 1 insertion(+)
29b115
29b115
diff --git a/configs/devices/aarch64-softmmu/aarch64-rh-devices.mak b/configs/devices/aarch64-softmmu/aarch64-rh-devices.mak
29b115
index 5f6ee1de5b..187938573f 100644
29b115
--- a/configs/devices/aarch64-softmmu/aarch64-rh-devices.mak
29b115
+++ b/configs/devices/aarch64-softmmu/aarch64-rh-devices.mak
29b115
@@ -22,6 +22,7 @@ CONFIG_VFIO=y
29b115
 CONFIG_VFIO_PCI=y
29b115
 CONFIG_VIRTIO_MMIO=y
29b115
 CONFIG_VIRTIO_PCI=y
29b115
+CONFIG_VIRTIO_MEM=y
29b115
 CONFIG_XIO3130=y
29b115
 CONFIG_NVDIMM=y
29b115
 CONFIG_ACPI_APEI=y
29b115
-- 
29b115
2.35.1
29b115