Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # KVM configuration
  4. #
  5. source "virt/kvm/Kconfig"
  6. menuconfig VIRTUALIZATION
  7. def_bool y
  8. prompt "KVM"
  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. def_tristate y
  17. prompt "Kernel-based Virtual Machine (KVM) support"
  18. depends on HAVE_KVM
  19. select PREEMPT_NOTIFIERS
  20. select ANON_INODES
  21. select HAVE_KVM_CPU_RELAX_INTERCEPT
  22. select HAVE_KVM_VCPU_ASYNC_IOCTL
  23. select HAVE_KVM_EVENTFD
  24. select KVM_ASYNC_PF
  25. select KVM_ASYNC_PF_SYNC
  26. select HAVE_KVM_IRQCHIP
  27. select HAVE_KVM_IRQFD
  28. select HAVE_KVM_IRQ_ROUTING
  29. select HAVE_KVM_INVALID_WAKEUPS
  30. select SRCU
  31. select KVM_VFIO
  32. ---help---
  33. Support hosting paravirtualized guest machines using the SIE
  34. virtualization capability on the mainframe. This should work
  35. on any 64bit machine.
  36. This module provides access to the hardware capabilities through
  37. a character device node named /dev/kvm.
  38. To compile this as a module, choose M here: the module
  39. will be called kvm.
  40. If unsure, say N.
  41. config KVM_S390_UCONTROL
  42. bool "Userspace controlled virtual machines"
  43. depends on KVM
  44. ---help---
  45. Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
  46. controlled by userspace.
  47. If unsure, say N.
  48. # OK, it's a little counter-intuitive to do this, but it puts it neatly under
  49. # the virtualization menu.
  50. source drivers/vhost/Kconfig
  51. endif # VIRTUALIZATION