mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 01:00:58 +07:00
12f6755602
This patch enables KVM_TRACE to build for PowerPC arch. This means just adding sections to Kconfig and Makefile. Signed-off-by: Jerone Young <jyoung5@us.ibm.com> Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
#
|
|
# KVM configuration
|
|
#
|
|
|
|
menuconfig VIRTUALIZATION
|
|
bool "Virtualization"
|
|
---help---
|
|
Say Y here to get to see options for using your Linux host to run
|
|
other operating systems inside virtual machines (guests).
|
|
This option alone does not add any kernel code.
|
|
|
|
If you say N, all options in this submenu will be skipped and
|
|
disabled.
|
|
|
|
if VIRTUALIZATION
|
|
|
|
config KVM
|
|
bool "Kernel-based Virtual Machine (KVM) support"
|
|
depends on 44x && EXPERIMENTAL
|
|
select PREEMPT_NOTIFIERS
|
|
select ANON_INODES
|
|
# We can only run on Book E hosts so far
|
|
select KVM_BOOKE_HOST
|
|
---help---
|
|
Support hosting virtualized guest machines. You will also
|
|
need to select one or more of the processor modules below.
|
|
|
|
This module provides access to the hardware capabilities through
|
|
a character device node named /dev/kvm.
|
|
|
|
If unsure, say N.
|
|
|
|
config KVM_BOOKE_HOST
|
|
bool "KVM host support for Book E PowerPC processors"
|
|
depends on KVM && 44x
|
|
---help---
|
|
Provides host support for KVM on Book E PowerPC processors. Currently
|
|
this works on 440 processors only.
|
|
|
|
config KVM_TRACE
|
|
bool "KVM trace support"
|
|
depends on KVM && MARKERS && SYSFS
|
|
select RELAY
|
|
select DEBUG_FS
|
|
default n
|
|
---help---
|
|
This option allows reading a trace of kvm-related events through
|
|
relayfs. Note the ABI is not considered stable and will be
|
|
modified in future updates.
|
|
|
|
source drivers/virtio/Kconfig
|
|
|
|
endif # VIRTUALIZATION
|