xref: /linux/drivers/xen/Kconfig (revision 1f169f66ddcc3b4614f840bef367de1ca20e16fe)
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
32df660251SIan Campbellconfig XEN_BACKEND
33329620a8SJeremy Fitzhardinge	bool "Backend driver support"
34df660251SIan Campbell	depends on XEN_DOM0
35df660251SIan Campbell	default y
36df660251SIan Campbell	help
37df660251SIan Campbell	  Support for backend device drivers that provide I/O services
38df660251SIan Campbell	  to other virtual machines.
39df660251SIan 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
759c4bc1c2SLinus Torvalds
76ab31523cSGerd Hoffmannconfig XEN_GNTDEV
77ab31523cSGerd Hoffmann	tristate "userspace grant access device driver"
78ab31523cSGerd Hoffmann	depends on XEN
79*1f169f66SStefano Stabellini	default m
80ab31523cSGerd Hoffmann	select MMU_NOTIFIER
81ab31523cSGerd Hoffmann	help
82ab31523cSGerd Hoffmann	  Allows userspace processes to use grants.
832de06cc1SIan Campbell
84dd314058SDaniel De Graafconfig XEN_GRANT_DEV_ALLOC
85dd314058SDaniel De Graaf	tristate "User-space grant reference allocator driver"
86dd314058SDaniel De Graaf	depends on XEN
87*1f169f66SStefano Stabellini	default m
88dd314058SDaniel De Graaf	help
89dd314058SDaniel De Graaf	  Allows userspace processes to create pages with access granted
90dd314058SDaniel De Graaf	  to other domains. This can be used to implement frontend drivers
91dd314058SDaniel De Graaf	  or as part of an inter-domain shared memory channel.
92dd314058SDaniel De Graaf
93183d03ccSStefano Stabelliniconfig XEN_PLATFORM_PCI
94183d03ccSStefano Stabellini	tristate "xen platform pci device driver"
95e528db5bSKonrad Rzeszutek Wilk	depends on XEN_PVHVM && PCI
96183d03ccSStefano Stabellini	default m
97183d03ccSStefano Stabellini	help
98183d03ccSStefano Stabellini	  Driver for the Xen PCI Platform device: it is responsible for
99183d03ccSStefano Stabellini	  initializing xenbus and grant_table when running in a Xen HVM
100183d03ccSStefano Stabellini	  domain. As a consequence this driver is required to run any Xen PV
101183d03ccSStefano Stabellini	  frontend on Xen HVM.
10226f0cf91SLinus Torvalds
103b097186fSKonrad Rzeszutek Wilkconfig SWIOTLB_XEN
104b097186fSKonrad Rzeszutek Wilk	def_bool y
1052775609cSKonrad Rzeszutek Wilk	depends on PCI
1062775609cSKonrad Rzeszutek Wilk	select SWIOTLB
107b097186fSKonrad Rzeszutek Wilk
10827fb7f00SRandy Dunlapendmenu
109