Kconfig 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. 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. config KVM_TRACE
  50. bool "KVM trace support"
  51. depends on KVM && SYSFS
  52. select MARKERS
  53. select RELAY
  54. select DEBUG_FS
  55. default n
  56. ---help---
  57. This option allows reading a trace of kvm-related events through
  58. relayfs. Note the ABI is not considered stable and will be
  59. modified in future updates.
  60. # OK, it's a little counter-intuitive to do this, but it puts it neatly under
  61. # the virtualization menu.
  62. source drivers/lguest/Kconfig
  63. source drivers/virtio/Kconfig
  64. endif # VIRTUALIZATION