xref: /openbmc/linux/arch/x86/xen/Kconfig (revision 87ffd2b9)
19702785aSThomas Gleixner#
29702785aSThomas Gleixner# This Kconfig describes xen options
39702785aSThomas Gleixner#
49702785aSThomas Gleixner
59702785aSThomas Gleixnerconfig XEN
6d3d1c4bdSRusty Russell	bool "Xen guest support"
76276a074SBorislav Petkov	depends on PARAVIRT
81c7b67f7SGerd Hoffmann	select PARAVIRT_CLOCK
9c2374bf5SIan Campbell	select XEN_HAVE_PVMMU
10c5f9ee3dSH. Peter Anvin	depends on X86_64 || (X86_32 && X86_PAE)
1187ffd2b9SDavid Vrabel	depends on X86_LOCAL_APIC && X86_TSC
129702785aSThomas Gleixner	help
139702785aSThomas Gleixner	  This is the Linux Xen port.  Enabling this will allow the
149702785aSThomas Gleixner	  kernel to boot in a paravirtualized environment under the
159702785aSThomas Gleixner	  Xen hypervisor.
168006ec3eSJeremy Fitzhardinge
176b0661a5SStefano Stabelliniconfig XEN_DOM0
186b0661a5SStefano Stabellini	def_bool y
196b0661a5SStefano Stabellini	depends on XEN && PCI_XEN && SWIOTLB_XEN
2087ffd2b9SDavid Vrabel	depends on X86_IO_APIC && ACPI && PCI
216b0661a5SStefano Stabellini
22ca65f9fcSStefano Stabelliniconfig XEN_PVHVM
23ca65f9fcSStefano Stabellini	def_bool y
24b17d0b5cSStefano Stabellini	depends on XEN && PCI && X86_LOCAL_APIC
25ca65f9fcSStefano Stabellini
268006ec3eSJeremy Fitzhardingeconfig XEN_MAX_DOMAIN_MEMORY
2758e05027SJeremy Fitzhardinge       int
2880df4649SMaxim Uvarov       default 500 if X86_64
2980df4649SMaxim Uvarov       default 64 if X86_32
308006ec3eSJeremy Fitzhardinge       depends on XEN
318006ec3eSJeremy Fitzhardinge       help
3258e05027SJeremy Fitzhardinge         This only affects the sizing of some bss arrays, the unused
3358e05027SJeremy Fitzhardinge         portions of which are freed.
3493a0886eSJeremy Fitzhardinge
3593a0886eSJeremy Fitzhardingeconfig XEN_SAVE_RESTORE
3693a0886eSJeremy Fitzhardinge       bool
371eb208aeSRafael J. Wysocki       depends on XEN
38d419e4c0SShriram Rajagopalan       select HIBERNATE_CALLBACKS
3993a0886eSJeremy Fitzhardinge       default y
40994025caSJeremy Fitzhardinge
41994025caSJeremy Fitzhardingeconfig XEN_DEBUG_FS
42994025caSJeremy Fitzhardinge	bool "Enable Xen debug and tuning parameters in debugfs"
43994025caSJeremy Fitzhardinge	depends on XEN && DEBUG_FS
44994025caSJeremy Fitzhardinge	default n
45994025caSJeremy Fitzhardinge	help
46994025caSJeremy Fitzhardinge	  Enable statistics output and various tuning options in debugfs.
47994025caSJeremy Fitzhardinge	  Enabling this option may incur a significant performance overhead.
4880df4649SMaxim Uvarov
49ddc416cbSMukesh Rathorconfig XEN_PVH
50ddc416cbSMukesh Rathor	bool "Support for running as a PVH guest"
5154d44eb3SKonrad Rzeszutek Wilk	depends on X86_64 && XEN && XEN_PVHVM
52ddc416cbSMukesh Rathor	def_bool n
53