Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. select PREEMPT_NOTIFIERS
  21. select MMU_NOTIFIER
  22. select ANON_INODES
  23. select HAVE_KVM_IRQCHIP
  24. select HAVE_KVM_EVENTFD
  25. select KVM_APIC_ARCHITECTURE
  26. ---help---
  27. Support hosting fully virtualized guest machines using hardware
  28. virtualization extensions. You will need a fairly recent
  29. processor equipped with virtualization extensions. You will also
  30. need to select one or more of the processor modules below.
  31. This module provides access to the hardware capabilities through
  32. a character device node named /dev/kvm.
  33. To compile this as a module, choose M here: the module
  34. will be called kvm.
  35. If unsure, say N.
  36. config KVM_INTEL
  37. tristate "KVM for Intel processors support"
  38. depends on KVM
  39. ---help---
  40. Provides support for KVM on Intel processors equipped with the VT
  41. extensions.
  42. To compile this as a module, choose M here: the module
  43. will be called kvm-intel.
  44. config KVM_AMD
  45. tristate "KVM for AMD processors support"
  46. depends on KVM
  47. ---help---
  48. Provides support for KVM on AMD processors equipped with the AMD-V
  49. (SVM) extensions.
  50. To compile this as a module, choose M here: the module
  51. will be called kvm-amd.
  52. config KVM_TRACE
  53. bool "KVM trace support"
  54. depends on KVM && SYSFS
  55. select MARKERS
  56. select RELAY
  57. select DEBUG_FS
  58. default n
  59. ---help---
  60. This option allows reading a trace of kvm-related events through
  61. relayfs. Note the ABI is not considered stable and will be
  62. modified in future updates.
  63. # OK, it's a little counter-intuitive to do this, but it puts it neatly under
  64. # the virtualization menu.
  65. source drivers/lguest/Kconfig
  66. source drivers/virtio/Kconfig
  67. endif # VIRTUALIZATION