xref: /openbmc/linux/arch/x86/xen/Kconfig (revision 08115ab4)
19702785aSThomas Gleixner#
29702785aSThomas Gleixner# This Kconfig describes xen options
39702785aSThomas Gleixner#
49702785aSThomas Gleixner
59702785aSThomas Gleixnerconfig XEN
6d3d1c4bdSRusty Russell	bool "Xen guest support"
7d3d1c4bdSRusty Russell	select PARAVIRT
81c7b67f7SGerd Hoffmann	select PARAVIRT_CLOCK
951dd660aSJeremy Fitzhardinge	depends on X86_64 || (X86_32 && X86_PAE && !(X86_VISWS || X86_VOYAGER))
1051dd660aSJeremy Fitzhardinge	depends on X86_CMPXCHG && X86_TSC
119702785aSThomas Gleixner	help
129702785aSThomas Gleixner	  This is the Linux Xen port.  Enabling this will allow the
139702785aSThomas Gleixner	  kernel to boot in a paravirtualized environment under the
149702785aSThomas Gleixner	  Xen hypervisor.
158006ec3eSJeremy Fitzhardinge
168006ec3eSJeremy Fitzhardingeconfig XEN_MAX_DOMAIN_MEMORY
178006ec3eSJeremy Fitzhardinge       int "Maximum allowed size of a domain in gigabytes"
1851dd660aSJeremy Fitzhardinge       default 8 if X86_32
1951dd660aSJeremy Fitzhardinge       default 32 if X86_64
208006ec3eSJeremy Fitzhardinge       depends on XEN
218006ec3eSJeremy Fitzhardinge       help
228006ec3eSJeremy Fitzhardinge         The pseudo-physical to machine address array is sized
238006ec3eSJeremy Fitzhardinge         according to the maximum possible memory size of a Xen
248006ec3eSJeremy Fitzhardinge         domain.  This array uses 1 page per gigabyte, so there's no
258006ec3eSJeremy Fitzhardinge         need to be too stingy here.
2693a0886eSJeremy Fitzhardinge
2793a0886eSJeremy Fitzhardingeconfig XEN_SAVE_RESTORE
2893a0886eSJeremy Fitzhardinge       bool
2908115ab4SChuck Ebbert       depends on XEN && PM
3093a0886eSJeremy Fitzhardinge       default y
31994025caSJeremy Fitzhardinge
32994025caSJeremy Fitzhardingeconfig XEN_DEBUG_FS
33994025caSJeremy Fitzhardinge	bool "Enable Xen debug and tuning parameters in debugfs"
34994025caSJeremy Fitzhardinge	depends on XEN && DEBUG_FS
35994025caSJeremy Fitzhardinge	default n
36994025caSJeremy Fitzhardinge	help
37994025caSJeremy Fitzhardinge	  Enable statistics output and various tuning options in debugfs.
38994025caSJeremy Fitzhardinge	  Enabling this option may incur a significant performance overhead.
39