Kconfig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #
  2. # KVM configuration
  3. #
  4. source "virt/kvm/Kconfig"
  5. menuconfig VIRTUALIZATION
  6. bool "Virtualization"
  7. depends on HAVE_KVM || X86
  8. default y
  9. ---help---
  10. Say Y here to get to see options for using your Linux host to run other
  11. operating systems inside virtual machines (guests).
  12. This option alone does not add any kernel code.
  13. If you say N, all options in this submenu will be skipped and disabled.
  14. if VIRTUALIZATION
  15. config KVM
  16. tristate "Kernel-based Virtual Machine (KVM) support"
  17. depends on HAVE_KVM
  18. # for device assignment:
  19. depends on PCI
  20. # for TASKSTATS/TASK_DELAY_ACCT:
  21. depends on NET
  22. select PREEMPT_NOTIFIERS
  23. select MMU_NOTIFIER
  24. select ANON_INODES
  25. select HAVE_KVM_IRQCHIP
  26. select HAVE_KVM_EVENTFD
  27. select KVM_APIC_ARCHITECTURE
  28. select KVM_ASYNC_PF
  29. select USER_RETURN_NOTIFIER
  30. select KVM_MMIO
  31. select TASKSTATS
  32. select TASK_DELAY_ACCT
  33. select PERF_EVENTS
  34. select HAVE_KVM_MSI
  35. ---help---
  36. Support hosting fully virtualized guest machines using hardware
  37. virtualization extensions. You will need a fairly recent
  38. processor equipped with virtualization extensions. You will also
  39. need to select one or more of the processor modules below.
  40. This module provides access to the hardware capabilities through
  41. a character device node named /dev/kvm.
  42. To compile this as a module, choose M here: the module
  43. will be called kvm.
  44. If unsure, say N.
  45. config KVM_INTEL
  46. tristate "KVM for Intel processors support"
  47. depends on KVM
  48. # for perf_guest_get_msrs():
  49. depends on CPU_SUP_INTEL
  50. ---help---
  51. Provides support for KVM on Intel processors equipped with the VT
  52. extensions.
  53. To compile this as a module, choose M here: the module
  54. will be called kvm-intel.
  55. config KVM_AMD
  56. tristate "KVM for AMD processors support"
  57. depends on KVM
  58. ---help---
  59. Provides support for KVM on AMD processors equipped with the AMD-V
  60. (SVM) extensions.
  61. To compile this as a module, choose M here: the module
  62. will be called kvm-amd.
  63. config KVM_MMU_AUDIT
  64. bool "Audit KVM MMU"
  65. depends on KVM && TRACEPOINTS
  66. ---help---
  67. This option adds a R/W kVM module parameter 'mmu_audit', which allows
  68. audit KVM MMU at runtime.
  69. # OK, it's a little counter-intuitive to do this, but it puts it neatly under
  70. # the virtualization menu.
  71. source drivers/vhost/Kconfig
  72. source drivers/lguest/Kconfig
  73. endif # VIRTUALIZATION