summaryrefslogtreecommitdiff
path: root/sys-kernel/linux/files/virt.config
blob: a0cee7c3f93fc96b9d5122c2d60d754be555339b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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