Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #
  2. # KVM configuration
  3. #
  4. source "virt/kvm/Kconfig"
  5. menuconfig VIRTUALIZATION
  6. bool "Virtualization"
  7. ---help---
  8. Say Y here to get to see options for using your Linux host to run
  9. other operating systems inside virtual machines (guests).
  10. This option alone does not add any kernel code.
  11. If you say N, all options in this submenu will be skipped and disabled.
  12. if VIRTUALIZATION
  13. config KVM
  14. tristate "Kernel-based Virtual Machine (KVM) support"
  15. depends on HAVE_KVM
  16. select EXPORT_UASM
  17. select PREEMPT_NOTIFIERS
  18. select ANON_INODES
  19. select KVM_GENERIC_DIRTYLOG_READ_PROTECT
  20. select KVM_MMIO
  21. select MMU_NOTIFIER
  22. select SRCU
  23. ---help---
  24. Support for hosting Guest kernels.
  25. choice
  26. prompt "Virtualization mode"
  27. depends on KVM
  28. default KVM_MIPS_TE
  29. config KVM_MIPS_TE
  30. bool "Trap & Emulate"
  31. ---help---
  32. Use trap and emulate to virtualize 32-bit guests in user mode. This
  33. does not require any special hardware Virtualization support beyond
  34. standard MIPS32/64 r2 or later, but it does require the guest kernel
  35. to be configured with CONFIG_KVM_GUEST=y so that it resides in the
  36. user address segment.
  37. config KVM_MIPS_VZ
  38. bool "MIPS Virtualization (VZ) ASE"
  39. ---help---
  40. Use the MIPS Virtualization (VZ) ASE to virtualize guests. This
  41. supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n),
  42. but requires hardware support.
  43. endchoice
  44. config KVM_MIPS_DYN_TRANS
  45. bool "KVM/MIPS: Dynamic binary translation to reduce traps"
  46. depends on KVM_MIPS_TE
  47. default y
  48. ---help---
  49. When running in Trap & Emulate mode patch privileged
  50. instructions to reduce the number of traps.
  51. If unsure, say Y.
  52. config KVM_MIPS_DEBUG_COP0_COUNTERS
  53. bool "Maintain counters for COP0 accesses"
  54. depends on KVM
  55. ---help---
  56. Maintain statistics for Guest COP0 accesses.
  57. A histogram of COP0 accesses is printed when the VM is
  58. shutdown.
  59. If unsure, say N.
  60. source drivers/vhost/Kconfig
  61. endif # VIRTUALIZATION