From f5d9435f43a440613bce954bb0930995aa4331e1 Mon Sep 17 00:00:00 2001 From: Lukas Stockner Date: Tue, 26 Nov 2024 21:59:50 +0100 Subject: [PATCH] sys-kernel/coreos-modules: Enable VFIO for arm64 VFIO was configured as x86-only, but it also works and is useful on ARM. CONFIG_VFIO_PCI_VGA is x86-specific, so it remains in the amd64 config. --- changelog/changes/2024-11-26-enable-vfio-on-arm.md | 1 + .../sys-kernel/coreos-modules/files/amd64_defconfig-6.6 | 2 -- .../sys-kernel/coreos-modules/files/commonconfig-6.6 | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog/changes/2024-11-26-enable-vfio-on-arm.md diff --git a/changelog/changes/2024-11-26-enable-vfio-on-arm.md b/changelog/changes/2024-11-26-enable-vfio-on-arm.md new file mode 100644 index 00000000000..61f57678789 --- /dev/null +++ b/changelog/changes/2024-11-26-enable-vfio-on-arm.md @@ -0,0 +1 @@ +- The VFIO kernel modules are now also available in ARM64 builds. \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/amd64_defconfig-6.6 b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/amd64_defconfig-6.6 index 62ab9e73909..0b2fee68c7b 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/amd64_defconfig-6.6 +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/amd64_defconfig-6.6 @@ -112,8 +112,6 @@ CONFIG_TCG_INFINEON=m CONFIG_TCG_NSC=m CONFIG_UPROBE_EVENTS=y CONFIG_USB_OHCI_HCD_SSB=y -CONFIG_VFIO=m -CONFIG_VFIO_PCI=m CONFIG_VFIO_PCI_VGA=y CONFIG_VHOST_VSOCK=m CONFIG_VMWARE_BALLOON=m diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 index 83771370bc3..f7c83de6953 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 @@ -921,6 +921,8 @@ CONFIG_USB_XHCI_HCD=m CONFIG_USER_NS=y CONFIG_VETH=m CONFIG_VFAT_FS=m +CONFIG_VFIO=m +CONFIG_VFIO_PCI=m CONFIG_VHOST_NET=m CONFIG_VIA_RHINE=m CONFIG_VIA_RHINE_MMIO=y