Kconfig 1.9 KB

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