Kconfig 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # This Kconfig describes xen options
  4. #
  5. config XEN
  6. bool "Xen guest support"
  7. depends on PARAVIRT
  8. select PARAVIRT_CLOCK
  9. select X86_HV_CALLBACK_VECTOR
  10. depends on X86_64 || (X86_32 && X86_PAE)
  11. depends on X86_LOCAL_APIC && X86_TSC
  12. help
  13. This is the Linux Xen port. Enabling this will allow the
  14. kernel to boot in a paravirtualized environment under the
  15. Xen hypervisor.
  16. config XEN_PV
  17. bool "Xen PV guest support"
  18. default y
  19. depends on XEN
  20. depends on X86_64
  21. select PARAVIRT_XXL
  22. select XEN_HAVE_PVMMU
  23. select XEN_HAVE_VPMU
  24. select GUEST_PERF_EVENTS
  25. help
  26. Support running as a Xen PV guest.
  27. config XEN_512GB
  28. bool "Limit Xen pv-domain memory to 512GB"
  29. depends on XEN_PV
  30. default y
  31. help
  32. Limit paravirtualized user domains to 512GB of RAM.
  33. The Xen tools and crash dump analysis tools might not support
  34. pv-domains with more than 512 GB of RAM. This option controls the
  35. default setting of the kernel to use only up to 512 GB or more.
  36. It is always possible to change the default via specifying the
  37. boot parameter "xen_512gb_limit".
  38. config XEN_PV_SMP
  39. def_bool y
  40. depends on XEN_PV && SMP
  41. config XEN_PV_DOM0
  42. def_bool y
  43. depends on XEN_PV && XEN_DOM0
  44. config XEN_PVHVM
  45. def_bool y
  46. depends on XEN && X86_LOCAL_APIC
  47. config XEN_PVHVM_SMP
  48. def_bool y
  49. depends on XEN_PVHVM && SMP
  50. config XEN_PVHVM_GUEST
  51. bool "Xen PVHVM guest support"
  52. default y
  53. depends on XEN_PVHVM && PCI
  54. help
  55. Support running as a Xen PVHVM guest.
  56. config XEN_SAVE_RESTORE
  57. bool
  58. depends on XEN
  59. select HIBERNATE_CALLBACKS
  60. default y
  61. config XEN_DEBUG_FS
  62. bool "Enable Xen debug and tuning parameters in debugfs"
  63. depends on XEN && DEBUG_FS
  64. help
  65. Enable statistics output and various tuning options in debugfs.
  66. Enabling this option may incur a significant performance overhead.
  67. config XEN_PVH
  68. bool "Xen PVH guest support"
  69. depends on XEN && XEN_PVHVM && ACPI
  70. select PVH
  71. def_bool n
  72. help
  73. Support for running as a Xen PVH guest.
  74. config XEN_DOM0
  75. bool "Xen Dom0 support"
  76. default XEN_PV
  77. depends on (XEN_PV && SWIOTLB_XEN) || (XEN_PVH && X86_64)
  78. depends on X86_IO_APIC && ACPI && PCI
  79. select X86_X2APIC if XEN_PVH && X86_64
  80. help
  81. Support running as a Xen Dom0 guest.
  82. config XEN_PV_MSR_SAFE
  83. bool "Always use safe MSR accesses in PV guests"
  84. default y
  85. depends on XEN_PV
  86. help
  87. Use safe (not faulting) MSR access functions even if the MSR access
  88. should not fault anyway.
  89. The default can be changed by using the "xen_msr_safe" boot parameter.