1edf88417SAvi Kivity# 2edf88417SAvi Kivity# KVM configuration 3edf88417SAvi Kivity# 4edf88417SAvi Kivityconfig HAVE_KVM 5edf88417SAvi Kivity bool 6edf88417SAvi Kivity 75d9b8e30SAvi Kivityconfig HAVE_KVM_IRQCHIP 85d9b8e30SAvi Kivity bool 95d9b8e30SAvi Kivity default y 105d9b8e30SAvi Kivity 11edf88417SAvi Kivitymenuconfig VIRTUALIZATION 12edf88417SAvi Kivity bool "Virtualization" 13edf88417SAvi Kivity depends on HAVE_KVM || X86 14edf88417SAvi Kivity default y 15edf88417SAvi Kivity ---help--- 16edf88417SAvi Kivity Say Y here to get to see options for using your Linux host to run other 17edf88417SAvi Kivity operating systems inside virtual machines (guests). 18edf88417SAvi Kivity This option alone does not add any kernel code. 19edf88417SAvi Kivity 20edf88417SAvi Kivity If you say N, all options in this submenu will be skipped and disabled. 21edf88417SAvi Kivity 22edf88417SAvi Kivityif VIRTUALIZATION 23edf88417SAvi Kivity 24edf88417SAvi Kivityconfig KVM 25edf88417SAvi Kivity tristate "Kernel-based Virtual Machine (KVM) support" 26268fe02aSAvi Kivity depends on HAVE_KVM 27ca93e992SAvi Kivity # for device assignment: 28ca93e992SAvi Kivity depends on PCI 29edf88417SAvi Kivity select PREEMPT_NOTIFIERS 30cddb8a5cSAndrea Arcangeli select MMU_NOTIFIER 31edf88417SAvi Kivity select ANON_INODES 32edf88417SAvi Kivity ---help--- 33edf88417SAvi Kivity Support hosting fully virtualized guest machines using hardware 34edf88417SAvi Kivity virtualization extensions. You will need a fairly recent 35edf88417SAvi Kivity processor equipped with virtualization extensions. You will also 36edf88417SAvi Kivity need to select one or more of the processor modules below. 37edf88417SAvi Kivity 38edf88417SAvi Kivity This module provides access to the hardware capabilities through 39edf88417SAvi Kivity a character device node named /dev/kvm. 40edf88417SAvi Kivity 41edf88417SAvi Kivity To compile this as a module, choose M here: the module 42edf88417SAvi Kivity will be called kvm. 43edf88417SAvi Kivity 44edf88417SAvi Kivity If unsure, say N. 45edf88417SAvi Kivity 46edf88417SAvi Kivityconfig KVM_INTEL 47edf88417SAvi Kivity tristate "KVM for Intel processors support" 48edf88417SAvi Kivity depends on KVM 49edf88417SAvi Kivity ---help--- 50edf88417SAvi Kivity Provides support for KVM on Intel processors equipped with the VT 51edf88417SAvi Kivity extensions. 52edf88417SAvi Kivity 53*58f8ac27SRobert P. J. Day To compile this as a module, choose M here: the module 54*58f8ac27SRobert P. J. Day will be called kvm-intel. 55*58f8ac27SRobert P. J. Day 56edf88417SAvi Kivityconfig KVM_AMD 57edf88417SAvi Kivity tristate "KVM for AMD processors support" 58edf88417SAvi Kivity depends on KVM 59edf88417SAvi Kivity ---help--- 60edf88417SAvi Kivity Provides support for KVM on AMD processors equipped with the AMD-V 61edf88417SAvi Kivity (SVM) extensions. 62edf88417SAvi Kivity 63*58f8ac27SRobert P. J. Day To compile this as a module, choose M here: the module 64*58f8ac27SRobert P. J. Day will be called kvm-amd. 65*58f8ac27SRobert P. J. Day 66d4c9ff2dSFeng(Eric) Liuconfig KVM_TRACE 67d4c9ff2dSFeng(Eric) Liu bool "KVM trace support" 68b6ab4afeSIngo Molnar depends on KVM && SYSFS 69b6ab4afeSIngo Molnar select MARKERS 70d4c9ff2dSFeng(Eric) Liu select RELAY 71d4c9ff2dSFeng(Eric) Liu select DEBUG_FS 72d4c9ff2dSFeng(Eric) Liu default n 73d4c9ff2dSFeng(Eric) Liu ---help--- 74d4c9ff2dSFeng(Eric) Liu This option allows reading a trace of kvm-related events through 75d4c9ff2dSFeng(Eric) Liu relayfs. Note the ABI is not considered stable and will be 76d4c9ff2dSFeng(Eric) Liu modified in future updates. 77d4c9ff2dSFeng(Eric) Liu 78edf88417SAvi Kivity# OK, it's a little counter-intuitive to do this, but it puts it neatly under 79edf88417SAvi Kivity# the virtualization menu. 80edf88417SAvi Kivitysource drivers/lguest/Kconfig 810ad07ec1SAnthony Liguorisource drivers/virtio/Kconfig 82edf88417SAvi Kivity 83edf88417SAvi Kivityendif # VIRTUALIZATION 84