You can search for all configs here: kernelconfig.io - search config information for linux kernel modules

Vermagic

Vermagic is a magic string present in the Linux Kernel and added into the .modinfo section of the Linux Kernel Modules.

This is used to verify whether the kernel module was compiled for the particular kernel version or not.

CONFIG_PARAVIRT

This changes the kernel so

  • it can modify itself when it is run under a hypervisor, potentially improving performance significantly over full virtualization.
  • However, when run natively the kernel is theoretically slower and slightly larger. 因为还是会调用 pv_ops 里 hook 的那些函数。

CONFIG_KVM_GUEST

This option enables various optimizations for running under the KVM hypervisor. It includes a paravirtualized clock, so that instead

of relying on a PIT (or probably other) emulation by the underlying device model, the host provides the guest with timing infrastructure such as time of day, and system time