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 9965c7ecaSIngo Molnar depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS) 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 166b0661a5SStefano Stabelliniconfig XEN_DOM0 176b0661a5SStefano Stabellini def_bool y 186b0661a5SStefano Stabellini depends on XEN && PCI_XEN && SWIOTLB_XEN 196b0661a5SStefano Stabellini depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI 206b0661a5SStefano Stabellini 216b0661a5SStefano Stabellini# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST 226b0661a5SStefano Stabellini# name in tools. 236b0661a5SStefano Stabelliniconfig XEN_PRIVILEGED_GUEST 246b0661a5SStefano Stabellini def_bool XEN_DOM0 256b0661a5SStefano Stabellini 26ca65f9fcSStefano Stabelliniconfig XEN_PVHVM 27ca65f9fcSStefano Stabellini def_bool y 28ca65f9fcSStefano Stabellini depends on XEN 29ca65f9fcSStefano Stabellini depends on X86_LOCAL_APIC 30ca65f9fcSStefano Stabellini 318006ec3eSJeremy Fitzhardingeconfig XEN_MAX_DOMAIN_MEMORY 3258e05027SJeremy Fitzhardinge int 3358e05027SJeremy Fitzhardinge default 128 348006ec3eSJeremy Fitzhardinge depends on XEN 358006ec3eSJeremy Fitzhardinge help 3658e05027SJeremy Fitzhardinge This only affects the sizing of some bss arrays, the unused 3758e05027SJeremy Fitzhardinge portions of which are freed. 3893a0886eSJeremy Fitzhardinge 3993a0886eSJeremy Fitzhardingeconfig XEN_SAVE_RESTORE 4093a0886eSJeremy Fitzhardinge bool 411eb208aeSRafael J. Wysocki depends on XEN 42d419e4c0SShriram Rajagopalan select HIBERNATE_CALLBACKS 4393a0886eSJeremy Fitzhardinge default y 44994025caSJeremy Fitzhardinge 45994025caSJeremy Fitzhardingeconfig XEN_DEBUG_FS 46994025caSJeremy Fitzhardinge bool "Enable Xen debug and tuning parameters in debugfs" 47994025caSJeremy Fitzhardinge depends on XEN && DEBUG_FS 48994025caSJeremy Fitzhardinge default n 49994025caSJeremy Fitzhardinge help 50994025caSJeremy Fitzhardinge Enable statistics output and various tuning options in debugfs. 51994025caSJeremy Fitzhardinge Enabling this option may incur a significant performance overhead. 52fc25151dSKonrad Rzeszutek Wilk 53fc25151dSKonrad Rzeszutek Wilkconfig XEN_DEBUG 54fc25151dSKonrad Rzeszutek Wilk bool "Enable Xen debug checks" 55fc25151dSKonrad Rzeszutek Wilk depends on XEN 56fc25151dSKonrad Rzeszutek Wilk default n 57fc25151dSKonrad Rzeszutek Wilk help 58fc25151dSKonrad Rzeszutek Wilk Enable various WARN_ON checks in the Xen MMU code. 59fc25151dSKonrad Rzeszutek Wilk Enabling this option WILL incur a significant performance overhead. 60