thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

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

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