Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. select KVM_APIC_ARCHITECTURE
  26. select USER_RETURN_NOTIFIER
  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. # OK, it's a little counter-intuitive to do this, but it puts it neatly under
  54. # the virtualization menu.
  55. source drivers/lguest/Kconfig
  56. source drivers/virtio/Kconfig
  57. endif # VIRTUALIZATION