diff options
author | Sanjay Lal <sanjayl@kymasys.com> | 2012-11-21 21:33:59 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-07 21:55:34 -0400 |
commit | 2235a54deaba06cd814f0f5815c98ad4dd5a6c4f (patch) | |
tree | c93cb56270978233d0775d582e8a095ba35e2ad6 /arch/mips/kvm | |
parent | fc0460d0dfb19d4887f509a2573197ca0f417ce9 (diff) |
KVM/MIPS32: Infrastructure/build files.
- Add the KVM option to MIPS build files.
- Add default config files for KVM host/guest kernels.
- Change the link address for the Malta KVM Guest kernel to UM (0x40100000).
- Add KVM Kconfig file with KVM/MIPS specific options
Signed-off-by: Sanjay Lal <sanjayl@kymasys.com>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kvm')
-rw-r--r-- | arch/mips/kvm/Kconfig | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/mips/kvm/Kconfig b/arch/mips/kvm/Kconfig new file mode 100644 index 000000000000..2c15590e55f7 --- /dev/null +++ b/arch/mips/kvm/Kconfig | |||
@@ -0,0 +1,49 @@ | |||
1 | # | ||
2 | # KVM configuration | ||
3 | # | ||
4 | source "virt/kvm/Kconfig" | ||
5 | |||
6 | menuconfig VIRTUALIZATION | ||
7 | bool "Virtualization" | ||
8 | depends on HAVE_KVM | ||
9 | ---help--- | ||
10 | Say Y here to get to see options for using your Linux host to run | ||
11 | other operating systems inside virtual machines (guests). | ||
12 | This option alone does not add any kernel code. | ||
13 | |||
14 | If you say N, all options in this submenu will be skipped and disabled. | ||
15 | |||
16 | if VIRTUALIZATION | ||
17 | |||
18 | config KVM | ||
19 | tristate "Kernel-based Virtual Machine (KVM) support" | ||
20 | depends on HAVE_KVM | ||
21 | select PREEMPT_NOTIFIERS | ||
22 | select ANON_INODES | ||
23 | select KVM_MMIO | ||
24 | ---help--- | ||
25 | Support for hosting Guest kernels. | ||
26 | Currently supported on MIPS32 processors. | ||
27 | |||
28 | config KVM_MIPS_DYN_TRANS | ||
29 | bool "KVM/MIPS: Dynamic binary translation to reduce traps" | ||
30 | depends on KVM | ||
31 | ---help--- | ||
32 | When running in Trap & Emulate mode patch privileged | ||
33 | instructions to reduce the number of traps. | ||
34 | |||
35 | If unsure, say Y. | ||
36 | |||
37 | config KVM_MIPS_DEBUG_COP0_COUNTERS | ||
38 | bool "Maintain counters for COP0 accesses" | ||
39 | depends on KVM | ||
40 | ---help--- | ||
41 | Maintain statistics for Guest COP0 accesses. | ||
42 | A histogram of COP0 accesses is printed when the VM is | ||
43 | shutdown. | ||
44 | |||
45 | If unsure, say N. | ||
46 | |||
47 | source drivers/vhost/Kconfig | ||
48 | |||
49 | endif # VIRTUALIZATION | ||