From abc536f54797386156383da7269ee0d4ccc84073 Mon Sep 17 00:00:00 2001 From: Mathew McBride Date: Sun, 6 Aug 2023 21:21:58 +0000 Subject: [PATCH] kernel: ensure VFIO related suboptions are disabled These suboptions (PLATFORM, FSL_MC and MLX5_VFIO_PCI) may be prompted for when VFIO is enabled, regardless of architecture. These are not related to the main vfio use case (passthrough of PCIe devices) Signed-off-by: Mathew McBride --- target/linux/generic/config-6.1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/generic/config-6.1 b/target/linux/generic/config-6.1 index 29aa7292b8..16648b8b22 100644 --- a/target/linux/generic/config-6.1 +++ b/target/linux/generic/config-6.1 @@ -3726,6 +3726,7 @@ CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y # CONFIG_MLX5_CORE is not set # CONFIG_MLX5_EN_MACSEC is not set # CONFIG_MLX5_SF is not set +# CONFIG_MLX5_VFIO_PCI is not set # CONFIG_MLX90614 is not set # CONFIG_MLX90632 is not set # CONFIG_MLXFW is not set @@ -7462,6 +7463,8 @@ CONFIG_VDSO=y # CONFIG_VF610_DAC is not set # CONFIG_VFAT_FS is not set # CONFIG_VFIO is not set +# CONFIG_VFIO_FSL_MC is not set +# CONFIG_VFIO_PLATFORM is not set # CONFIG_VGASTATE is not set # CONFIG_VGA_ARB is not set # CONFIG_VGA_CONSOLE is not set