Kconfig 2.1 KB

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