Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. depends on X86_64 || (X86_32 && X86_PAE)
  10. depends on X86_LOCAL_APIC && X86_TSC
  11. help
  12. This is the Linux Xen port. Enabling this will allow the
  13. kernel to boot in a paravirtualized environment under the
  14. Xen hypervisor.
  15. config XEN_PV
  16. bool "Xen PV guest support"
  17. default y
  18. depends on XEN
  19. select XEN_HAVE_PVMMU
  20. select XEN_HAVE_VPMU
  21. help
  22. Support running as a Xen PV guest.
  23. config XEN_PV_SMP
  24. def_bool y
  25. depends on XEN_PV && SMP
  26. config XEN_DOM0
  27. bool "Xen PV Dom0 support"
  28. default y
  29. depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
  30. depends on X86_IO_APIC && ACPI && PCI
  31. help
  32. Support running as a Xen PV Dom0 guest.
  33. config XEN_PVHVM
  34. bool "Xen PVHVM guest support"
  35. default y
  36. depends on XEN && PCI && X86_LOCAL_APIC
  37. help
  38. Support running as a Xen PVHVM guest.
  39. config XEN_PVHVM_SMP
  40. def_bool y
  41. depends on XEN_PVHVM && SMP
  42. config XEN_512GB
  43. bool "Limit Xen pv-domain memory to 512GB"
  44. depends on XEN_PV && X86_64
  45. default y
  46. help
  47. Limit paravirtualized user domains to 512GB of RAM.
  48. The Xen tools and crash dump analysis tools might not support
  49. pv-domains with more than 512 GB of RAM. This option controls the
  50. default setting of the kernel to use only up to 512 GB or more.
  51. It is always possible to change the default via specifying the
  52. boot parameter "xen_512gb_limit".
  53. config XEN_SAVE_RESTORE
  54. bool
  55. depends on XEN
  56. select HIBERNATE_CALLBACKS
  57. default y
  58. config XEN_DEBUG_FS
  59. bool "Enable Xen debug and tuning parameters in debugfs"
  60. depends on XEN && DEBUG_FS
  61. default n
  62. help
  63. Enable statistics output and various tuning options in debugfs.
  64. Enabling this option may incur a significant performance overhead.
  65. config XEN_PVH
  66. bool "Support for running as a PVH guest"
  67. depends on XEN && XEN_PVHVM && ACPI
  68. def_bool n