diff options
Diffstat (limited to 'sys-kernel/linux/files/virt.config')
-rw-r--r-- | sys-kernel/linux/files/virt.config | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/sys-kernel/linux/files/virt.config b/sys-kernel/linux/files/virt.config new file mode 100644 index 0000000..a0cee7c --- /dev/null +++ b/sys-kernel/linux/files/virt.config @@ -0,0 +1,52 @@ +# No logo +CONFIG_LOGO=n +CONFIG_LOCALVERSION="virt" +# Compile BTRFS in kernel +CONFIG_BTRFS_FS=y + +# Enable guest configurations +CONFIG_HYPERVISOR_GUEST=y +CONFIG_PARAVIRT=y +CONFIG_PARAVIRT_SPINLOCKS=y +CONFIG_KVM_GUEST=y + +# VirtIO drivers +CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_BALLOON=y +CONFIG_VIRTIO_INPUT=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_BLK=y +CONFIG_VIRTIO_NET=y +CONFIG_SCSI_LOWLEVEL=y +CONFIG_SCSI_VIRTIO=y + +# Wireguard +CONFIG_NET_FOU=y +CONFIG_NETFILTER_ADVANCED=y +CONFIG_NF_CONNTRACK=y +CONFIG_NETFILTER_XTABLES=y +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y +CONFIG_CRYPTO_PCRYPT=y + +# Build configuration into the kernel but as module +CONFIG_IKCONFIG=m +CONFIG_IKCONFIG_PROC=y + +# Chromium requires user namespace sandbox? +CONFIG_USER_NS=y + +## Gentoo specific just to be sure +# Udev +CONFIG_DEVTMPFS=y +CONFIG_TMPFS=y +CONFIG_UNIX=y +CONFIG_MMU=y +CONFIG_SHMEM=y +# Portage +CONFIG_CGROUPS=y +CONFIG_NAMESPACES=y +CONFIG_IPC_NS=y +CONFIG_NET_NS=y +CONFIG_SYSVIPC=y +# OpenRC +CONFIG_BINFMT_SCRIPT=y |