xref: /linux/drivers/xen/Kconfig (revision ea9e57d06e48239e19f67769703aa48554f6648b)
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
12a50777c7SDan Magenheimerconfig XEN_SELFBALLOONING
13a50777c7SDan Magenheimer	bool "Dynamically self-balloon kernel memory to target"
1465d4b248SKonrad Rzeszutek Wilk	depends on XEN && XEN_BALLOON && CLEANCACHE && SWAP && XEN_TMEM
15a50777c7SDan Magenheimer	default n
16a50777c7SDan Magenheimer	help
17a50777c7SDan Magenheimer	  Self-ballooning dynamically balloons available kernel memory driven
18a50777c7SDan Magenheimer	  by the current usage of anonymous memory ("committed AS") and
19a50777c7SDan Magenheimer	  controlled by various sysfs-settable parameters.  Configuring
20a50777c7SDan Magenheimer	  FRONTSWAP is highly recommended; if it is not configured, self-
21ed4f346aSKonrad Rzeszutek Wilk	  ballooning is disabled by default. If FRONTSWAP is configured,
22a50777c7SDan Magenheimer	  frontswap-selfshrinking is enabled by default but can be disabled
2354598d1bSKonrad Rzeszutek Wilk	  with the 'tmem.selfshrink=0' kernel boot parameter; and self-ballooning
24ed4f346aSKonrad Rzeszutek Wilk	  is enabled by default but can be disabled with the 'tmem.selfballooning=0'
25a50777c7SDan Magenheimer	  kernel boot parameter.  Note that systems without a sufficiently
26a50777c7SDan Magenheimer	  large swap device should not enable self-ballooning.
27a50777c7SDan Magenheimer
28080e2be7SDaniel Kiperconfig XEN_BALLOON_MEMORY_HOTPLUG
29080e2be7SDaniel Kiper	bool "Memory hotplug support for Xen balloon driver"
30080e2be7SDaniel Kiper	default n
31080e2be7SDaniel Kiper	depends on XEN_BALLOON && MEMORY_HOTPLUG
32080e2be7SDaniel Kiper	help
33080e2be7SDaniel Kiper	  Memory hotplug support for Xen balloon driver allows expanding memory
34080e2be7SDaniel Kiper	  available for the system above limit declared at system startup.
35080e2be7SDaniel Kiper	  It is very useful on critical systems which require long
36080e2be7SDaniel Kiper	  run without rebooting.
37080e2be7SDaniel Kiper
38080e2be7SDaniel Kiper	  Memory could be hotplugged in following steps:
39080e2be7SDaniel Kiper
40703fc13aSVitaly Kuznetsov	    1) target domain: ensure that memory auto online policy is in
41703fc13aSVitaly Kuznetsov	       effect by checking /sys/devices/system/memory/auto_online_blocks
42703fc13aSVitaly Kuznetsov	       file (should be 'online').
43703fc13aSVitaly Kuznetsov
44703fc13aSVitaly Kuznetsov	    2) control domain: xl mem-max <target-domain> <maxmem>
45080e2be7SDaniel Kiper	       where <maxmem> is >= requested memory size,
46080e2be7SDaniel Kiper
47703fc13aSVitaly Kuznetsov	    3) control domain: xl mem-set <target-domain> <memory>
48080e2be7SDaniel Kiper	       where <memory> is requested memory size; alternatively memory
49080e2be7SDaniel Kiper	       could be added by writing proper value to
50080e2be7SDaniel Kiper	       /sys/devices/system/xen_memory/xen_memory0/target or
51703fc13aSVitaly Kuznetsov	       /sys/devices/system/xen_memory/xen_memory0/target_kb on the
52703fc13aSVitaly Kuznetsov	       target domain.
53080e2be7SDaniel Kiper
54703fc13aSVitaly Kuznetsov	  Alternatively, if memory auto onlining was not requested at step 1
55703fc13aSVitaly Kuznetsov	  the newly added memory can be manually onlined in the target domain
56703fc13aSVitaly Kuznetsov	  by doing the following:
57703fc13aSVitaly Kuznetsov
58703fc13aSVitaly Kuznetsov		for i in /sys/devices/system/memory/memory*/state; do \
59080e2be7SDaniel Kiper		  [ "`cat "$i"`" = offline ] && echo online > "$i"; done
60080e2be7SDaniel Kiper
61703fc13aSVitaly Kuznetsov	  or by adding the following line to udev rules:
62080e2be7SDaniel Kiper
63080e2be7SDaniel Kiper	  SUBSYSTEM=="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /sys$devpath/state'"
64080e2be7SDaniel Kiper
65633d6f17SJuergen Grossconfig XEN_BALLOON_MEMORY_HOTPLUG_LIMIT
66633d6f17SJuergen Gross	int "Hotplugged memory limit (in GiB) for a PV guest"
67633d6f17SJuergen Gross	default 512 if X86_64
68633d6f17SJuergen Gross	default 4 if X86_32
69633d6f17SJuergen Gross	range 0 64 if X86_32
70633d6f17SJuergen Gross	depends on XEN_HAVE_PVMMU
71633d6f17SJuergen Gross	depends on XEN_BALLOON_MEMORY_HOTPLUG
72633d6f17SJuergen Gross	help
73633d6f17SJuergen Gross	  Maxmium amount of memory (in GiB) that a PV guest can be
74633d6f17SJuergen Gross	  expanded to when using memory hotplug.
75633d6f17SJuergen Gross
76633d6f17SJuergen Gross	  A PV guest can have more memory than this limit if is
77633d6f17SJuergen Gross	  started with a larger maximum.
78633d6f17SJuergen Gross
79633d6f17SJuergen Gross	  This value is used to allocate enough space in internal
80633d6f17SJuergen Gross	  tables needed for physical memory administration.
81633d6f17SJuergen Gross
82197ecb38SMarek Marczykowski-Góreckiconfig XEN_SCRUB_PAGES_DEFAULT
83197ecb38SMarek Marczykowski-Górecki	bool "Scrub pages before returning them to system by default"
841775826cSJeremy Fitzhardinge	depends on XEN_BALLOON
851775826cSJeremy Fitzhardinge	default y
861775826cSJeremy Fitzhardinge	help
871775826cSJeremy Fitzhardinge	  Scrub pages before returning them to the system for reuse by
881775826cSJeremy Fitzhardinge	  other domains.  This makes sure that any confidential data
891775826cSJeremy Fitzhardinge	  is not accidentally visible to other domains.  Is it more
90197ecb38SMarek Marczykowski-Górecki	  secure, but slightly less efficient. This can be controlled with
91197ecb38SMarek Marczykowski-Górecki	  xen_scrub_pages=0 parameter and
92197ecb38SMarek Marczykowski-Górecki	  /sys/devices/system/xen_memory/xen_memory0/scrub_pages.
93197ecb38SMarek Marczykowski-Górecki	  This option only sets the default value.
94197ecb38SMarek Marczykowski-Górecki
951775826cSJeremy Fitzhardinge	  If in doubt, say yes.
961107ba88SAlex Zeffertt
97f7116284SIan Campbellconfig XEN_DEV_EVTCHN
98f7116284SIan Campbell	tristate "Xen /dev/xen/evtchn device"
99f7116284SIan Campbell	default y
100f7116284SIan Campbell	help
1016b2aac42SMasanari Iida	  The evtchn driver allows a userspace process to trigger event
102f7116284SIan Campbell	  channels and to receive notification of an event channel
103f7116284SIan Campbell	  firing.
104f7116284SIan Campbell	  If in doubt, say yes.
105f7116284SIan Campbell
106df660251SIan Campbellconfig XEN_BACKEND
107329620a8SJeremy Fitzhardinge	bool "Backend driver support"
108*ea9e57d0SJason Andryuk	default XEN_DOM0
109df660251SIan Campbell	help
110df660251SIan Campbell	  Support for backend device drivers that provide I/O services
111df660251SIan Campbell	  to other virtual machines.
112df660251SIan Campbell
1131107ba88SAlex Zefferttconfig XENFS
1141107ba88SAlex Zeffertt	tristate "Xen filesystem"
115d8414d3cSBastian Blank	select XEN_PRIVCMD
1161107ba88SAlex Zeffertt	default y
1171107ba88SAlex Zeffertt	help
1181107ba88SAlex Zeffertt	  The xen filesystem provides a way for domains to share
1191107ba88SAlex Zeffertt	  information with each other and with the hypervisor.
1201107ba88SAlex Zeffertt	  For example, by reading and writing the "xenbus" file, guests
1211107ba88SAlex Zeffertt	  may pass arbitrary information to the initial domain.
1221107ba88SAlex Zeffertt	  If in doubt, say yes.
1231107ba88SAlex Zeffertt
1241107ba88SAlex Zefferttconfig XEN_COMPAT_XENFS
1251107ba88SAlex Zeffertt       bool "Create compatibility mount point /proc/xen"
1261107ba88SAlex Zeffertt       depends on XENFS
1271107ba88SAlex Zeffertt       default y
1281107ba88SAlex Zeffertt       help
1291107ba88SAlex Zeffertt         The old xenstore userspace tools expect to find "xenbus"
1301107ba88SAlex Zeffertt         under /proc/xen, but "xenbus" is now found at the root of the
1311107ba88SAlex Zeffertt         xenfs filesystem.  Selecting this causes the kernel to create
132692105b8SMatt LaPlante         the compatibility mount point /proc/xen if it is running on
1331107ba88SAlex Zeffertt         a xen platform.
1341107ba88SAlex Zeffertt         If in doubt, say yes.
1351107ba88SAlex Zeffertt
136cff7e81bSJeremy Fitzhardingeconfig XEN_SYS_HYPERVISOR
137cff7e81bSJeremy Fitzhardinge       bool "Create xen entries under /sys/hypervisor"
13827fb7f00SRandy Dunlap       depends on SYSFS
139cff7e81bSJeremy Fitzhardinge       select SYS_HYPERVISOR
140cff7e81bSJeremy Fitzhardinge       default y
141cff7e81bSJeremy Fitzhardinge       help
142cff7e81bSJeremy Fitzhardinge         Create entries under /sys/hypervisor describing the Xen
143cff7e81bSJeremy Fitzhardinge	 hypervisor environment.  When running native or in another
144cff7e81bSJeremy Fitzhardinge	 virtual environment, /sys/hypervisor will still be present,
145cff7e81bSJeremy Fitzhardinge	 but will have no xen contents.
14627fb7f00SRandy Dunlap
1472de06cc1SIan Campbellconfig XEN_XENBUS_FRONTEND
1482de06cc1SIan Campbell	tristate
1499c4bc1c2SLinus Torvalds
150ab31523cSGerd Hoffmannconfig XEN_GNTDEV
151ab31523cSGerd Hoffmann	tristate "userspace grant access device driver"
152ab31523cSGerd Hoffmann	depends on XEN
1531f169f66SStefano Stabellini	default m
154ab31523cSGerd Hoffmann	select MMU_NOTIFIER
155ab31523cSGerd Hoffmann	help
156ab31523cSGerd Hoffmann	  Allows userspace processes to use grants.
1572de06cc1SIan Campbell
158932d6562SOleksandr Andrushchenkoconfig XEN_GNTDEV_DMABUF
159932d6562SOleksandr Andrushchenko	bool "Add support for dma-buf grant access device driver extension"
160932d6562SOleksandr Andrushchenko	depends on XEN_GNTDEV && XEN_GRANT_DMA_ALLOC && DMA_SHARED_BUFFER
161932d6562SOleksandr Andrushchenko	help
162932d6562SOleksandr Andrushchenko	  Allows userspace processes and kernel modules to use Xen backed
163932d6562SOleksandr Andrushchenko	  dma-buf implementation. With this extension grant references to
164932d6562SOleksandr Andrushchenko	  the pages of an imported dma-buf can be exported for other domain
165932d6562SOleksandr Andrushchenko	  use and grant references coming from a foreign domain can be
166932d6562SOleksandr Andrushchenko	  converted into a local dma-buf for local export.
167932d6562SOleksandr Andrushchenko
168dd314058SDaniel De Graafconfig XEN_GRANT_DEV_ALLOC
169dd314058SDaniel De Graaf	tristate "User-space grant reference allocator driver"
170dd314058SDaniel De Graaf	depends on XEN
1711f169f66SStefano Stabellini	default m
172dd314058SDaniel De Graaf	help
173dd314058SDaniel De Graaf	  Allows userspace processes to create pages with access granted
174dd314058SDaniel De Graaf	  to other domains. This can be used to implement frontend drivers
175dd314058SDaniel De Graaf	  or as part of an inter-domain shared memory channel.
176dd314058SDaniel De Graaf
1779bdc7304SOleksandr Andrushchenkoconfig XEN_GRANT_DMA_ALLOC
1789bdc7304SOleksandr Andrushchenko	bool "Allow allocating DMA capable buffers with grant reference module"
1799bdc7304SOleksandr Andrushchenko	depends on XEN && HAS_DMA
1809bdc7304SOleksandr Andrushchenko	help
1819bdc7304SOleksandr Andrushchenko	  Extends grant table module API to allow allocating DMA capable
1829bdc7304SOleksandr Andrushchenko	  buffers and mapping foreign grant references on top of it.
1839bdc7304SOleksandr Andrushchenko	  The resulting buffer is similar to one allocated by the balloon
1849bdc7304SOleksandr Andrushchenko	  driver in that proper memory reservation is made by
1859bdc7304SOleksandr Andrushchenko	  ({increase|decrease}_reservation and VA mappings are updated if
1869bdc7304SOleksandr Andrushchenko	  needed).
1879bdc7304SOleksandr Andrushchenko	  This is useful for sharing foreign buffers with HW drivers which
1889bdc7304SOleksandr Andrushchenko	  cannot work with scattered buffers provided by the balloon driver,
1899bdc7304SOleksandr Andrushchenko	  but require DMAable memory instead.
1909bdc7304SOleksandr Andrushchenko
191b097186fSKonrad Rzeszutek Wilkconfig SWIOTLB_XEN
192b097186fSKonrad Rzeszutek Wilk	def_bool y
1932775609cSKonrad Rzeszutek Wilk	select SWIOTLB
194b097186fSKonrad Rzeszutek Wilk
195afec6e04SDan Magenheimerconfig XEN_TMEM
19610a7a077SDan Magenheimer	tristate
197741ddbcfSStefano Stabellini	depends on !ARM && !ARM64
19810a7a077SDan Magenheimer	default m if (CLEANCACHE || FRONTSWAP)
199afec6e04SDan Magenheimer	help
200afec6e04SDan Magenheimer	  Shim to interface in-kernel Transcendent Memory hooks
201afec6e04SDan Magenheimer	  (e.g. cleancache and frontswap) to Xen tmem hypercalls.
202afec6e04SDan Magenheimer
20330edc14bSKonrad Rzeszutek Wilkconfig XEN_PCIDEV_BACKEND
20430edc14bSKonrad Rzeszutek Wilk	tristate "Xen PCI-device backend driver"
20530edc14bSKonrad Rzeszutek Wilk	depends on PCI && X86 && XEN
20630edc14bSKonrad Rzeszutek Wilk	depends on XEN_BACKEND
2072ebdc426SKonrad Rzeszutek Wilk	default m
20830edc14bSKonrad Rzeszutek Wilk	help
20930edc14bSKonrad Rzeszutek Wilk	  The PCI device backend driver allows the kernel to export arbitrary
21030edc14bSKonrad Rzeszutek Wilk	  PCI devices to other guests. If you select this to be a module, you
21130edc14bSKonrad Rzeszutek Wilk	  will need to make sure no other driver has bound to the device(s)
21230edc14bSKonrad Rzeszutek Wilk	  you want to make visible to other guests.
21330edc14bSKonrad Rzeszutek Wilk
2142ebdc426SKonrad Rzeszutek Wilk	  The parameter "passthrough" allows you specify how you want the PCI
2152ebdc426SKonrad Rzeszutek Wilk	  devices to appear in the guest. You can choose the default (0) where
2162ebdc426SKonrad Rzeszutek Wilk	  PCI topology starts at 00.00.0, or (1) for passthrough if you want
2172ebdc426SKonrad Rzeszutek Wilk	  the PCI devices topology appear the same as in the host.
21830edc14bSKonrad Rzeszutek Wilk
2192ebdc426SKonrad Rzeszutek Wilk	  The "hide" parameter (only applicable if backend driver is compiled
2202ebdc426SKonrad Rzeszutek Wilk	  into the kernel) allows you to bind the PCI devices to this module
2212ebdc426SKonrad Rzeszutek Wilk	  from the default device drivers. The argument is the list of PCI BDFs:
2222ebdc426SKonrad Rzeszutek Wilk	  xen-pciback.hide=(03:00.0)(04:00.0)
22330edc14bSKonrad Rzeszutek Wilk
2242ebdc426SKonrad Rzeszutek Wilk	  If in doubt, say m.
225d8414d3cSBastian Blank
2265eee149aSStefano Stabelliniconfig XEN_PVCALLS_FRONTEND
2275eee149aSStefano Stabellini	tristate "XEN PV Calls frontend driver"
2285eee149aSStefano Stabellini	depends on INET && XEN
2295eee149aSStefano Stabellini	default n
2305eee149aSStefano Stabellini	select XEN_XENBUS_FRONTEND
2315eee149aSStefano Stabellini	help
2325eee149aSStefano Stabellini	  Experimental frontend for the Xen PV Calls protocol
2335eee149aSStefano Stabellini	  (https://xenbits.xen.org/docs/unstable/misc/pvcalls.html). It
2345eee149aSStefano Stabellini	  sends a small set of POSIX calls to the backend, which
2355eee149aSStefano Stabellini	  implements them.
2365eee149aSStefano Stabellini
23742d3078aSStefano Stabelliniconfig XEN_PVCALLS_BACKEND
23842d3078aSStefano Stabellini	bool "XEN PV Calls backend driver"
23942d3078aSStefano Stabellini	depends on INET && XEN && XEN_BACKEND
24042d3078aSStefano Stabellini	default n
24142d3078aSStefano Stabellini	help
24242d3078aSStefano Stabellini	  Experimental backend for the Xen PV Calls protocol
24342d3078aSStefano Stabellini	  (https://xenbits.xen.org/docs/unstable/misc/pvcalls.html). It
24442d3078aSStefano Stabellini	  allows PV Calls frontends to send POSIX calls to the backend,
24542d3078aSStefano Stabellini	  which implements them.
24642d3078aSStefano Stabellini
24742d3078aSStefano Stabellini	  If in doubt, say n.
24842d3078aSStefano Stabellini
249d9d660f6SJuergen Grossconfig XEN_SCSI_BACKEND
250d9d660f6SJuergen Gross	tristate "XEN SCSI backend driver"
251d9d660f6SJuergen Gross	depends on XEN && XEN_BACKEND && TARGET_CORE
252d9d660f6SJuergen Gross	help
253d9d660f6SJuergen Gross	  The SCSI backend driver allows the kernel to export its SCSI Devices
254d9d660f6SJuergen Gross	  to other guests via a high-performance shared-memory interface.
255d9d660f6SJuergen Gross	  Only needed for systems running as XEN driver domains (e.g. Dom0) and
256d9d660f6SJuergen Gross	  if guests need generic access to SCSI devices.
257d9d660f6SJuergen Gross
258d8414d3cSBastian Blankconfig XEN_PRIVCMD
259d8414d3cSBastian Blank	tristate
260d8414d3cSBastian Blank	depends on XEN
261d8414d3cSBastian Blank	default m
262d8414d3cSBastian Blank
263dcb93b96SLiu Jinsongconfig XEN_STUB
264dcb93b96SLiu Jinsong	bool "Xen stub drivers"
26576fc2537SKonrad Rzeszutek Wilk	depends on XEN && X86_64 && BROKEN
266dcb93b96SLiu Jinsong	default n
267dcb93b96SLiu Jinsong	help
268dcb93b96SLiu Jinsong	  Allow kernel to install stub drivers, to reserve space for Xen drivers,
269dcb93b96SLiu Jinsong	  i.e. memory hotplug and cpu hotplug, and to block native drivers loaded,
270dcb93b96SLiu Jinsong	  so that real Xen drivers can be modular.
271dcb93b96SLiu Jinsong
272dcb93b96SLiu Jinsong	  To enable Xen features like cpu and memory hotplug, select Y here.
273dcb93b96SLiu Jinsong
274ef92e7caSLiu Jinsongconfig XEN_ACPI_HOTPLUG_MEMORY
275ef92e7caSLiu Jinsong	tristate "Xen ACPI memory hotplug"
276ef92e7caSLiu Jinsong	depends on XEN_DOM0 && XEN_STUB && ACPI
277ef92e7caSLiu Jinsong	default n
278ef92e7caSLiu Jinsong	help
279ef92e7caSLiu Jinsong	  This is Xen ACPI memory hotplug.
280ef92e7caSLiu Jinsong
281ef92e7caSLiu Jinsong	  Currently Xen only support ACPI memory hot-add. If you want
282ef92e7caSLiu Jinsong	  to hot-add memory at runtime (the hot-added memory cannot be
283ef92e7caSLiu Jinsong	  removed until machine stop), select Y/M here, otherwise select N.
284ef92e7caSLiu Jinsong
28539adc483SLiu Jinsongconfig XEN_ACPI_HOTPLUG_CPU
28639adc483SLiu Jinsong	tristate "Xen ACPI cpu hotplug"
28739adc483SLiu Jinsong	depends on XEN_DOM0 && XEN_STUB && ACPI
28839adc483SLiu Jinsong	select ACPI_CONTAINER
28939adc483SLiu Jinsong	default n
29039adc483SLiu Jinsong	help
29139adc483SLiu Jinsong	  Xen ACPI cpu enumerating and hotplugging
29239adc483SLiu Jinsong
29339adc483SLiu Jinsong	  For hotplugging, currently Xen only support ACPI cpu hotadd.
29439adc483SLiu Jinsong	  If you want to hotadd cpu at runtime (the hotadded cpu cannot
29539adc483SLiu Jinsong	  be removed until machine stop), select Y/M here.
29639adc483SLiu Jinsong
29759a56802SKonrad Rzeszutek Wilkconfig XEN_ACPI_PROCESSOR
29859a56802SKonrad Rzeszutek Wilk	tristate "Xen ACPI processor"
299c4f9d9cbSJan Beulich	depends on XEN && XEN_DOM0 && X86 && ACPI_PROCESSOR && CPU_FREQ
300102b208eSKonrad Rzeszutek Wilk	default m
30159a56802SKonrad Rzeszutek Wilk	help
3021fd14432SAndrew Morton          This ACPI processor uploads Power Management information to the Xen
3031fd14432SAndrew Morton	  hypervisor.
30459a56802SKonrad Rzeszutek Wilk
3051fd14432SAndrew Morton	  To do that the driver parses the Power Management data and uploads
3061fd14432SAndrew Morton	  said information to the Xen hypervisor. Then the Xen hypervisor can
3075065a706SMasanari Iida	  select the proper Cx and Pxx states. It also registers itself as the
3081fd14432SAndrew Morton	  SMM so that other drivers (such as ACPI cpufreq scaling driver) will
3091fd14432SAndrew Morton	  not load.
31059a56802SKonrad Rzeszutek Wilk
3111fd14432SAndrew Morton          To compile this driver as a module, choose M here: the module will be
3121fd14432SAndrew Morton	  called xen_acpi_processor  If you do not know what to choose, select
3131fd14432SAndrew Morton	  M here. If the CPUFREQ drivers are built in, select Y here.
31459a56802SKonrad Rzeszutek Wilk
315cef12ee5SLiu, Jinsongconfig XEN_MCE_LOG
316cef12ee5SLiu, Jinsong	bool "Xen platform mcelog"
317cef12ee5SLiu, Jinsong	depends on XEN_DOM0 && X86_64 && X86_MCE
318cef12ee5SLiu, Jinsong	default n
319cef12ee5SLiu, Jinsong	help
320cef12ee5SLiu, Jinsong	  Allow kernel fetching MCE error from Xen platform and
321cef12ee5SLiu, Jinsong	  converting it into Linux mcelog format for mcelog tools
322cef12ee5SLiu, Jinsong
323c2374bf5SIan Campbellconfig XEN_HAVE_PVMMU
324c2374bf5SIan Campbell       bool
325c2374bf5SIan Campbell
326be81c8a1SDaniel Kiperconfig XEN_EFI
327be81c8a1SDaniel Kiper	def_bool y
328be1aaf4eSShannon Zhao	depends on (ARM || ARM64 || X86_64) && EFI
329be81c8a1SDaniel Kiper
330628c28eeSDavid Vrabelconfig XEN_AUTO_XLATE
331628c28eeSDavid Vrabel	def_bool y
332628c28eeSDavid Vrabel	depends on ARM || ARM64 || XEN_PVHVM
333628c28eeSDavid Vrabel	help
334628c28eeSDavid Vrabel	  Support for auto-translated physmap guests.
335628c28eeSDavid Vrabel
33642068cfdSHanjun Guoconfig XEN_ACPI
33742068cfdSHanjun Guo	def_bool y
33842068cfdSHanjun Guo	depends on X86 && ACPI
33942068cfdSHanjun Guo
340a11f4f0aSBoris Ostrovskyconfig XEN_SYMS
341a11f4f0aSBoris Ostrovsky       bool "Xen symbols"
342a11f4f0aSBoris Ostrovsky       depends on X86 && XEN_DOM0 && XENFS
343a11f4f0aSBoris Ostrovsky       default y if KALLSYMS
344a11f4f0aSBoris Ostrovsky       help
345a11f4f0aSBoris Ostrovsky          Exports hypervisor symbols (along with their types and addresses) via
346a11f4f0aSBoris Ostrovsky          /proc/xen/xensyms file, similar to /proc/kallsyms
347a11f4f0aSBoris Ostrovsky
3485f141548SBoris Ostrovskyconfig XEN_HAVE_VPMU
3495f141548SBoris Ostrovsky       bool
3505f141548SBoris Ostrovsky
35127fb7f00SRandy Dunlapendmenu
352