From ae3bcc5ad1df3c8692ed3501515f94e19e18d713 Mon Sep 17 00:00:00 2001 From: shiguangyin Date: Sun, 26 May 2024 09:29:23 +0800 Subject: [PATCH] config: Enable the VGA and IGD features of vfio inspurcloud inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9PV8I CVE: NA -------------------------------- In order for the virtual machine to passthrough to the GPU, Enable the VGA and IGD features of VFIO in the X86 architecture configfile, No functional changes. Signed-off-by: shiguangyin (cherry picked from commit cbf5029864c8e46ebcd955b15bd21158c6d5999b) --- arch/x86/configs/openeuler_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/configs/openeuler_defconfig b/arch/x86/configs/openeuler_defconfig index 27b1f9def28d..e7cbf2482c07 100644 --- a/arch/x86/configs/openeuler_defconfig +++ b/arch/x86/configs/openeuler_defconfig @@ -6441,10 +6441,10 @@ CONFIG_VFIO_VIRQFD=m CONFIG_VFIO=m CONFIG_VFIO_NOIOMMU=y CONFIG_VFIO_PCI=m -# CONFIG_VFIO_PCI_VGA is not set +CONFIG_VFIO_PCI_VGA=y CONFIG_VFIO_PCI_MMAP=y CONFIG_VFIO_PCI_INTX=y -# CONFIG_VFIO_PCI_IGD is not set +CONFIG_VFIO_PCI_IGD=y CONFIG_VFIO_MDEV=m CONFIG_VFIO_MDEV_DEVICE=m CONFIG_IRQ_BYPASS_MANAGER=m -- Gitee