~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/loongarch/kvm/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/loongarch/kvm/Kconfig (Version linux-6.12-rc7) and /arch/mips/kvm/Kconfig (Version linux-5.10.229)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 #                                                   2 #
  3 # KVM configuration                                 3 # KVM configuration
  4 #                                                   4 #
  5                                                << 
  6 source "virt/kvm/Kconfig"                           5 source "virt/kvm/Kconfig"
  7                                                     6 
  8 menuconfig VIRTUALIZATION                           7 menuconfig VIRTUALIZATION
  9         bool "Virtualization"                       8         bool "Virtualization"
 10         help                                        9         help
 11           Say Y here to get to see options for     10           Say Y here to get to see options for using your Linux host to run
 12           other operating systems inside virtu     11           other operating systems inside virtual machines (guests).
 13           This option alone does not add any k     12           This option alone does not add any kernel code.
 14                                                    13 
 15           If you say N, all options in this su !!  14           If you say N, all options in this submenu will be skipped and disabled.
 16           disabled.                            << 
 17                                                    15 
 18 if VIRTUALIZATION                                  16 if VIRTUALIZATION
 19                                                    17 
 20 config KVM                                         18 config KVM
 21         tristate "Kernel-based Virtual Machine     19         tristate "Kernel-based Virtual Machine (KVM) support"
 22         depends on AS_HAS_LVZ_EXTENSION        !!  20         depends on HAVE_KVM
 23         select HAVE_KVM_DIRTY_RING_ACQ_REL     !!  21         depends on MIPS_FP_SUPPORT
 24         select HAVE_KVM_VCPU_ASYNC_IOCTL       !!  22         select EXPORT_UASM
 25         select KVM_COMMON                      !!  23         select PREEMPT_NOTIFIERS
 26         select KVM_GENERIC_DIRTYLOG_READ_PROTE     24         select KVM_GENERIC_DIRTYLOG_READ_PROTECT
 27         select KVM_GENERIC_HARDWARE_ENABLING   !!  25         select HAVE_KVM_EVENTFD
 28         select KVM_GENERIC_MMU_NOTIFIER        !!  26         select HAVE_KVM_VCPU_ASYNC_IOCTL
 29         select KVM_MMIO                            27         select KVM_MMIO
 30         select HAVE_KVM_READONLY_MEM           !!  28         select MMU_NOTIFIER
 31         select KVM_XFER_TO_GUEST_WORK          !!  29         select SRCU
 32         select SCHED_INFO                      !!  30         help
 33         help                                   !!  31           Support for hosting Guest kernels.
 34           Support hosting virtualized guest ma !!  32 
 35           hardware virtualization extensions.  !!  33 choice
 36           a processor equipped with virtualiza !!  34         prompt "Virtualization mode"
                                                   >>  35         depends on KVM
                                                   >>  36         default KVM_MIPS_TE
                                                   >>  37 
                                                   >>  38 config KVM_MIPS_TE
                                                   >>  39         bool "Trap & Emulate"
                                                   >>  40         depends on CPU_MIPS32_R2
                                                   >>  41         help
                                                   >>  42           Use trap and emulate to virtualize 32-bit guests in user mode. This
                                                   >>  43           does not require any special hardware Virtualization support beyond
                                                   >>  44           standard MIPS32 r2 or later, but it does require the guest kernel
                                                   >>  45           to be configured with CONFIG_KVM_GUEST=y so that it resides in the
                                                   >>  46           user address segment.
                                                   >>  47 
                                                   >>  48 config KVM_MIPS_VZ
                                                   >>  49         bool "MIPS Virtualization (VZ) ASE"
                                                   >>  50         help
                                                   >>  51           Use the MIPS Virtualization (VZ) ASE to virtualize guests. This
                                                   >>  52           supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n),
                                                   >>  53           but requires hardware support.
                                                   >>  54 
                                                   >>  55 endchoice
                                                   >>  56 
                                                   >>  57 config KVM_MIPS_DYN_TRANS
                                                   >>  58         bool "KVM/MIPS: Dynamic binary translation to reduce traps"
                                                   >>  59         depends on KVM_MIPS_TE
                                                   >>  60         default y
                                                   >>  61         help
                                                   >>  62           When running in Trap & Emulate mode patch privileged
                                                   >>  63           instructions to reduce the number of traps.
                                                   >>  64 
                                                   >>  65           If unsure, say Y.
                                                   >>  66 
                                                   >>  67 config KVM_MIPS_DEBUG_COP0_COUNTERS
                                                   >>  68         bool "Maintain counters for COP0 accesses"
                                                   >>  69         depends on KVM
                                                   >>  70         help
                                                   >>  71           Maintain statistics for Guest COP0 accesses.
                                                   >>  72           A histogram of COP0 accesses is printed when the VM is
                                                   >>  73           shutdown.
 37                                                    74 
 38           If unsure, say N.                        75           If unsure, say N.
 39                                                    76 
 40 endif # VIRTUALIZATION                             77 endif # VIRTUALIZATION
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php