Kconfig 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. menu "Xen driver support"
  2. depends on XEN
  3. config XEN_BALLOON
  4. bool "Xen memory balloon driver"
  5. default y
  6. help
  7. The balloon driver allows the Xen domain to request more memory from
  8. the system to expand the domain's memory allocation, or alternatively
  9. return unneeded memory to the system.
  10. config XEN_SCRUB_PAGES
  11. bool "Scrub pages before returning them to system"
  12. depends on XEN_BALLOON
  13. default y
  14. help
  15. Scrub pages before returning them to the system for reuse by
  16. other domains. This makes sure that any confidential data
  17. is not accidentally visible to other domains. Is it more
  18. secure, but slightly less efficient.
  19. If in doubt, say yes.
  20. config XEN_DEV_EVTCHN
  21. tristate "Xen /dev/xen/evtchn device"
  22. default y
  23. help
  24. The evtchn driver allows a userspace process to triger event
  25. channels and to receive notification of an event channel
  26. firing.
  27. If in doubt, say yes.
  28. config XEN_BACKEND
  29. bool "Backend driver support"
  30. depends on XEN_DOM0
  31. default y
  32. help
  33. Support for backend device drivers that provide I/O services
  34. to other virtual machines.
  35. config XENFS
  36. tristate "Xen filesystem"
  37. default y
  38. help
  39. The xen filesystem provides a way for domains to share
  40. information with each other and with the hypervisor.
  41. For example, by reading and writing the "xenbus" file, guests
  42. may pass arbitrary information to the initial domain.
  43. If in doubt, say yes.
  44. config XEN_COMPAT_XENFS
  45. bool "Create compatibility mount point /proc/xen"
  46. depends on XENFS
  47. default y
  48. help
  49. The old xenstore userspace tools expect to find "xenbus"
  50. under /proc/xen, but "xenbus" is now found at the root of the
  51. xenfs filesystem. Selecting this causes the kernel to create
  52. the compatibility mount point /proc/xen if it is running on
  53. a xen platform.
  54. If in doubt, say yes.
  55. config XEN_SYS_HYPERVISOR
  56. bool "Create xen entries under /sys/hypervisor"
  57. depends on SYSFS
  58. select SYS_HYPERVISOR
  59. default y
  60. help
  61. Create entries under /sys/hypervisor describing the Xen
  62. hypervisor environment. When running native or in another
  63. virtual environment, /sys/hypervisor will still be present,
  64. but will have no xen contents.
  65. config XEN_XENBUS_FRONTEND
  66. tristate
  67. config XEN_GNTDEV
  68. tristate "userspace grant access device driver"
  69. depends on XEN
  70. default m
  71. select MMU_NOTIFIER
  72. help
  73. Allows userspace processes to use grants.
  74. config XEN_GRANT_DEV_ALLOC
  75. tristate "User-space grant reference allocator driver"
  76. depends on XEN
  77. default m
  78. help
  79. Allows userspace processes to create pages with access granted
  80. to other domains. This can be used to implement frontend drivers
  81. or as part of an inter-domain shared memory channel.
  82. config XEN_PLATFORM_PCI
  83. tristate "xen platform pci device driver"
  84. depends on XEN_PVHVM && PCI
  85. default m
  86. help
  87. Driver for the Xen PCI Platform device: it is responsible for
  88. initializing xenbus and grant_table when running in a Xen HVM
  89. domain. As a consequence this driver is required to run any Xen PV
  90. frontend on Xen HVM.
  91. config SWIOTLB_XEN
  92. def_bool y
  93. depends on PCI
  94. select SWIOTLB
  95. config XEN_PCIDEV_BACKEND
  96. tristate "Xen PCI-device backend driver"
  97. depends on PCI && X86 && XEN
  98. depends on XEN_BACKEND
  99. help
  100. The PCI device backend driver allows the kernel to export arbitrary
  101. PCI devices to other guests. If you select this to be a module, you
  102. will need to make sure no other driver has bound to the device(s)
  103. you want to make visible to other guests.
  104. choice
  105. prompt "PCI Backend Mode"
  106. depends on XEN_PCIDEV_BACKEND
  107. config XEN_PCIDEV_BACKEND_VPCI
  108. bool "Virtual PCI"
  109. help
  110. This PCI Backend hides the true PCI topology and makes the frontend
  111. think there is a single PCI bus with only the exported devices on it.
  112. For example, a device at 03:05.0 will be re-assigned to 00:00.0. A
  113. second device at 02:1a.1 will be re-assigned to 00:01.1.
  114. config XEN_PCIDEV_BACKEND_PASS
  115. bool "Passthrough"
  116. help
  117. This PCI Backend provides a real view of the PCI topology to the
  118. frontend (for example, a device at 06:01.b will still appear at
  119. 06:01.b to the frontend). This is similar to how Xen 2.0.x exposed
  120. PCI devices to its driver domains. This may be required for drivers
  121. which depend on finding their hardward in certain bus/slot
  122. locations.
  123. endchoice
  124. config XEN_PCIDEV_BE_DEBUG
  125. bool "Xen PCI Backend Debugging"
  126. depends on XEN_PCIDEV_BACKEND
  127. default n
  128. help
  129. Allows to observe all of the traffic from the frontend/backend
  130. when reading and writting to the configuration registers.
  131. If in doubt, say no.
  132. endmenu