xref: /linux/drivers/xen/Kconfig (revision df660251eb534649f90f9dcfe1da1cef4ea48a3e)
127fb7f00SRandy Dunlapmenu "Xen driver support"
227fb7f00SRandy Dunlap	depends on XEN
327fb7f00SRandy Dunlap
41775826cSJeremy Fitzhardingeconfig XEN_BALLOON
51775826cSJeremy Fitzhardinge	bool "Xen memory balloon driver"
61775826cSJeremy Fitzhardinge	default y
71775826cSJeremy Fitzhardinge	help
81775826cSJeremy Fitzhardinge	  The balloon driver allows the Xen domain to request more memory from
91775826cSJeremy Fitzhardinge	  the system to expand the domain's memory allocation, or alternatively
101775826cSJeremy Fitzhardinge	  return unneeded memory to the system.
111775826cSJeremy Fitzhardinge
121775826cSJeremy Fitzhardingeconfig XEN_SCRUB_PAGES
131775826cSJeremy Fitzhardinge	bool "Scrub pages before returning them to system"
141775826cSJeremy Fitzhardinge	depends on XEN_BALLOON
151775826cSJeremy Fitzhardinge	default y
161775826cSJeremy Fitzhardinge	help
171775826cSJeremy Fitzhardinge	  Scrub pages before returning them to the system for reuse by
181775826cSJeremy Fitzhardinge	  other domains.  This makes sure that any confidential data
191775826cSJeremy Fitzhardinge	  is not accidentally visible to other domains.  Is it more
201775826cSJeremy Fitzhardinge	  secure, but slightly less efficient.
211775826cSJeremy Fitzhardinge	  If in doubt, say yes.
221107ba88SAlex Zeffertt
23f7116284SIan Campbellconfig XEN_DEV_EVTCHN
24f7116284SIan Campbell	tristate "Xen /dev/xen/evtchn device"
25f7116284SIan Campbell	default y
26f7116284SIan Campbell	help
27f7116284SIan Campbell	  The evtchn driver allows a userspace process to triger event
28f7116284SIan Campbell	  channels and to receive notification of an event channel
29f7116284SIan Campbell	  firing.
30f7116284SIan Campbell	  If in doubt, say yes.
31f7116284SIan Campbell
32*df660251SIan Campbellconfig XEN_BACKEND
33*df660251SIan Campbell	tristate "Backend driver support"
34*df660251SIan Campbell	depends on XEN_DOM0
35*df660251SIan Campbell	default y
36*df660251SIan Campbell	help
37*df660251SIan Campbell	  Support for backend device drivers that provide I/O services
38*df660251SIan Campbell	  to other virtual machines.
39*df660251SIan Campbell
401107ba88SAlex Zefferttconfig XENFS
411107ba88SAlex Zeffertt	tristate "Xen filesystem"
421107ba88SAlex Zeffertt	default y
431107ba88SAlex Zeffertt	help
441107ba88SAlex Zeffertt	  The xen filesystem provides a way for domains to share
451107ba88SAlex Zeffertt	  information with each other and with the hypervisor.
461107ba88SAlex Zeffertt	  For example, by reading and writing the "xenbus" file, guests
471107ba88SAlex Zeffertt	  may pass arbitrary information to the initial domain.
481107ba88SAlex Zeffertt	  If in doubt, say yes.
491107ba88SAlex Zeffertt
501107ba88SAlex Zefferttconfig XEN_COMPAT_XENFS
511107ba88SAlex Zeffertt       bool "Create compatibility mount point /proc/xen"
521107ba88SAlex Zeffertt       depends on XENFS
531107ba88SAlex Zeffertt       default y
541107ba88SAlex Zeffertt       help
551107ba88SAlex Zeffertt         The old xenstore userspace tools expect to find "xenbus"
561107ba88SAlex Zeffertt         under /proc/xen, but "xenbus" is now found at the root of the
571107ba88SAlex Zeffertt         xenfs filesystem.  Selecting this causes the kernel to create
58692105b8SMatt LaPlante         the compatibility mount point /proc/xen if it is running on
591107ba88SAlex Zeffertt         a xen platform.
601107ba88SAlex Zeffertt         If in doubt, say yes.
611107ba88SAlex Zeffertt
62cff7e81bSJeremy Fitzhardingeconfig XEN_SYS_HYPERVISOR
63cff7e81bSJeremy Fitzhardinge       bool "Create xen entries under /sys/hypervisor"
6427fb7f00SRandy Dunlap       depends on SYSFS
65cff7e81bSJeremy Fitzhardinge       select SYS_HYPERVISOR
66cff7e81bSJeremy Fitzhardinge       default y
67cff7e81bSJeremy Fitzhardinge       help
68cff7e81bSJeremy Fitzhardinge         Create entries under /sys/hypervisor describing the Xen
69cff7e81bSJeremy Fitzhardinge	 hypervisor environment.  When running native or in another
70cff7e81bSJeremy Fitzhardinge	 virtual environment, /sys/hypervisor will still be present,
71cff7e81bSJeremy Fitzhardinge	 but will have no xen contents.
7227fb7f00SRandy Dunlap
732de06cc1SIan Campbellconfig XEN_XENBUS_FRONTEND
742de06cc1SIan Campbell       tristate
752de06cc1SIan Campbell
76183d03ccSStefano Stabelliniconfig XEN_PLATFORM_PCI
77183d03ccSStefano Stabellini	tristate "xen platform pci device driver"
78ca65f9fcSStefano Stabellini	depends on XEN_PVHVM
79183d03ccSStefano Stabellini	default m
80183d03ccSStefano Stabellini	help
81183d03ccSStefano Stabellini	  Driver for the Xen PCI Platform device: it is responsible for
82183d03ccSStefano Stabellini	  initializing xenbus and grant_table when running in a Xen HVM
83183d03ccSStefano Stabellini	  domain. As a consequence this driver is required to run any Xen PV
84183d03ccSStefano Stabellini	  frontend on Xen HVM.
8526f0cf91SLinus Torvalds
86b097186fSKonrad Rzeszutek Wilkconfig SWIOTLB_XEN
87b097186fSKonrad Rzeszutek Wilk	def_bool y
882775609cSKonrad Rzeszutek Wilk	depends on PCI
892775609cSKonrad Rzeszutek Wilk	select SWIOTLB
90b097186fSKonrad Rzeszutek Wilk
9127fb7f00SRandy Dunlapendmenu
92