Kconfig 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. depends on HIGH_RES_TIMERS
  19. # for device assignment:
  20. depends on PCI
  21. # for TASKSTATS/TASK_DELAY_ACCT:
  22. depends on NET
  23. select PREEMPT_NOTIFIERS
  24. select MMU_NOTIFIER
  25. select ANON_INODES
  26. select HAVE_KVM_IRQCHIP
  27. select HAVE_KVM_IRQ_ROUTING
  28. select HAVE_KVM_EVENTFD
  29. select KVM_APIC_ARCHITECTURE
  30. select KVM_ASYNC_PF
  31. select USER_RETURN_NOTIFIER
  32. select KVM_MMIO
  33. select TASKSTATS
  34. select TASK_DELAY_ACCT
  35. select PERF_EVENTS
  36. select HAVE_KVM_MSI
  37. select HAVE_KVM_CPU_RELAX_INTERCEPT
  38. ---help---
  39. Support hosting fully virtualized guest machines using hardware
  40. virtualization extensions. You will need a fairly recent
  41. processor equipped with virtualization extensions. You will also
  42. need to select one or more of the processor modules below.
  43. This module provides access to the hardware capabilities through
  44. a character device node named /dev/kvm.
  45. To compile this as a module, choose M here: the module
  46. will be called kvm.
  47. If unsure, say N.
  48. config KVM_INTEL
  49. tristate "KVM for Intel processors support"
  50. depends on KVM
  51. # for perf_guest_get_msrs():
  52. depends on CPU_SUP_INTEL
  53. ---help---
  54. Provides support for KVM on Intel processors equipped with the VT
  55. extensions.
  56. To compile this as a module, choose M here: the module
  57. will be called kvm-intel.
  58. config KVM_AMD
  59. tristate "KVM for AMD processors support"
  60. depends on KVM
  61. ---help---
  62. Provides support for KVM on AMD processors equipped with the AMD-V
  63. (SVM) extensions.
  64. To compile this as a module, choose M here: the module
  65. will be called kvm-amd.
  66. config KVM_MMU_AUDIT
  67. bool "Audit KVM MMU"
  68. depends on KVM && TRACEPOINTS
  69. ---help---
  70. This option adds a R/W kVM module parameter 'mmu_audit', which allows
  71. audit KVM MMU at runtime.
  72. # OK, it's a little counter-intuitive to do this, but it puts it neatly under
  73. # the virtualization menu.
  74. source drivers/vhost/Kconfig
  75. source drivers/lguest/Kconfig
  76. endif # VIRTUALIZATION