Kernel Sources:       sys-kernel/gentoo-sources

Kernel Version:       4.13.8

Last Updated on:      19/10/2017

Priorities:           1- high performance
                      2- minimal
                      3- low memory footprint
                      4- small size
                      5- power saving
                      6- security
                      7- low-latency

Configuration File:   https://www.dotslashlinux.com/dotfiles/kernel/DOTSLASHLINUX.config

Total Options:        2654 (grep -c 'CONFIG_' DOTSLASHLINUX.config)

Included Options:     749 (grep -c '=y' DOTSLASHLINUX.config)

Excluded Options:     1840 (grep -c 'is not set' DOTSLASHLINUX.config)

Final Size (LZ4):     5,644,240 Bytes

Total Patches:        1 (UKSM-4.13 Patch) (https://github.com/dolohow/uksm/blob/master/uksm-4.13.patch)

Contributors:         Firas Khalil Khana [irc: firas] [email: firasuke@gmail.com]

Side Notes:           1- Options that aren't listed here are excluded [ ].
                      2- These guides provide users with a solid starting setup to build on.
                      3- These guides are constantly being updated.
                      4- If there's something I didn't explain properly or I misexplained
                         then please do let me know either by kindly leaving a comment below
                         or sending me an email on: firasuke@gmail.com
                      5- If you found these guides helpful, then please don't forget to
                         support DOTSLASHLINUX on Patreon:
                            
                            https://www.patreon.com/DOTSLASHLINUX

                         or on PayPal:
                            
                            https://www.paypal.me/DOTSLASHLINUX/5
Part Section Link
1 Intro Click Here
2 [*] Gentoo Linux support ---> Click Here
3 General setup ---> Click Here
4 [*] Enable loadable module support ---> Click Here
5 [*] Enable the block layer ---> Click Here
6 Processor type and features ---> Click Here
7 Power management and ACPI options ---> Click Here
8 Bus options (PCI etc.) ---> Click Here
9 Executable file formats / Emulations ---> Click Here
10 [*] Networking support ---> Click Here
11 Device Drivers ---> Click Here
12 Firmware Drivers ---> Click Here
13 File systems ---> Click Here
14 Kernel hacking ---> Click Here
15 Security options ---> Click Here
16 -*- Cryptographic API ---> Click Here
17 [*] Virtualization ---> Click Here
18 Library routines ---> Click Here

The Linux Kernel Configuration Guide Part 17

kernel17
By Firas Khalil Khana on 17/09/2017

[*] Virtualization —>

Symbol:     CONFIG_VIRTUALIZATION

Help:       Say Y here to get to see options for using your Linux host to run other
            operating systems inside virtual machines (guests).
            This option alone does not add any kernel code.

            If you say N, all options in this submenu will be skipped and disabled.

Type:       boolean

Choice:     built-in [*]

Reason:     It's highly recommended that you include this option in your kernel
            if you're planning to run guest vms on your host system.

            It's also recommended by the Gentoo wiki.

<*> Kernel-based Virtual Machine (KVM) support

Symbol:     CONFIG_KVM

Help:       Support hosting fully virtualized guest machines using hardware
            virtualization extensions.  You will need a fairly recent
            processor equipped with virtualization extensions. You will also
            need to select one or more of the processor modules below.

            This module provides access to the hardware capabilities through
            a character device node named /dev/kvm.

            To compile this as a module, choose M here: the module
            will be called kvm.

            If unsure, say N.

Type:       tristate

Choice:     built-in <*>

Reason:     It's highly recommended that you include this option as the KVM
            hypervisor enhances performance considerably in linux guests.
            
            It's also recommended by the Gentoo wiki.

<*> KVM for Intel processors support

Symbol:     CONFIG_KVM_INTEL

Help:       Provides support for KVM on Intel processors equipped with the VT
            extensions.

            To compile this as a module, choose M here: the module
            will be called kvm-intel.

Type:       tristate

Choice:     built-in <*>

Reason:     It's highly recommended that you include this option as the KVM
            hypervisor for Intel CPUs enhances performance considerably in
            linux guests.
            
            It's also recommended by the Gentoo wiki.

<*> Host kernel accelerator for virtio net

Symbol:     CONFIG_VHOST_NET

Help:       This kernel module can be loaded in host kernel to accelerate
            guest networking with virtio_net. Not to be confused with virtio_net
            module itself which needs to be loaded in guest kernel.

            To compile this driver as a module, choose M here: the module will
            be called vhost_net.

Type:       tristate

Choice:     built-in <*>

Reason:     It's highly recommended that you include this option as virtio
            net boosts network performance considerably in guest vms.
            
            It's also recommended by the Gentoo wiki.

Chinese Translation

One of DOTSLASHLINUX’s followers from china 杨鑫 (Yang Mame), decided to follow up with the series and provide chinese translation of the kernel configuration guides on his blog.

To read this guide in chinese click here.

Leave A Comment

Become a Patron

To help keep DOTSLASHLINUX up and running and ads free, kindly consider supporting it on Patreon.

Thanks a lot for your support!

Patreon

Recommended Distros

Gentoo Linux Void Linux Arch Linux

Upcoming Articles

  • Best QEMU and KVM Configuration for Windows Guests on Linux Hosts

Suggestions

Apart from the comments' section, if you wanted to see an article on how to configure a certain application for a GNU/Linux distro, or wanted to share one (perhaps one that you've written), feel free to send me an email on:

firasuke@gmail.com