Kconfig 2.1 KB

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