Kconfig 2.4 KB

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