Kconfig 1.9 KB

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