mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 17:29:05 +07:00
7243b93345
Start PVH guest at XEN_ELFNOTE_PHYS32_ENTRY address. Setup hypercall page, initialize boot_params, enable early page tables. Since this stub is executed before kernel entry point we cannot use variables in .bss which is cleared by kernel. We explicitly place variables that are initialized here into .data. While adjusting xen_hvm_init_shared_info() make it use cpuid_e?x() instead of cpuid() (wherever possible). Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Juergen Gross <jgross@suse.com>
58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
#
|
|
# This Kconfig describes xen options
|
|
#
|
|
|
|
config XEN
|
|
bool "Xen guest support"
|
|
depends on PARAVIRT
|
|
select PARAVIRT_CLOCK
|
|
select XEN_HAVE_PVMMU
|
|
select XEN_HAVE_VPMU
|
|
depends on X86_64 || (X86_32 && X86_PAE)
|
|
depends on X86_LOCAL_APIC && X86_TSC
|
|
help
|
|
This is the Linux Xen port. Enabling this will allow the
|
|
kernel to boot in a paravirtualized environment under the
|
|
Xen hypervisor.
|
|
|
|
config XEN_DOM0
|
|
def_bool y
|
|
depends on XEN && PCI_XEN && SWIOTLB_XEN
|
|
depends on X86_IO_APIC && ACPI && PCI
|
|
|
|
config XEN_PVHVM
|
|
def_bool y
|
|
depends on XEN && PCI && X86_LOCAL_APIC
|
|
|
|
config XEN_512GB
|
|
bool "Limit Xen pv-domain memory to 512GB"
|
|
depends on XEN && X86_64
|
|
default y
|
|
help
|
|
Limit paravirtualized user domains to 512GB of RAM.
|
|
|
|
The Xen tools and crash dump analysis tools might not support
|
|
pv-domains with more than 512 GB of RAM. This option controls the
|
|
default setting of the kernel to use only up to 512 GB or more.
|
|
It is always possible to change the default via specifying the
|
|
boot parameter "xen_512gb_limit".
|
|
|
|
config XEN_SAVE_RESTORE
|
|
bool
|
|
depends on XEN
|
|
select HIBERNATE_CALLBACKS
|
|
default y
|
|
|
|
config XEN_DEBUG_FS
|
|
bool "Enable Xen debug and tuning parameters in debugfs"
|
|
depends on XEN && DEBUG_FS
|
|
default n
|
|
help
|
|
Enable statistics output and various tuning options in debugfs.
|
|
Enabling this option may incur a significant performance overhead.
|
|
|
|
config XEN_PVH
|
|
bool "Support for running as a PVH guest"
|
|
depends on XEN && XEN_PVHVM && ACPI
|
|
def_bool n
|