| .. | .. |
|---|
| 6 | 6 | |
|---|
| 7 | 7 | menuconfig VIRTUALIZATION |
|---|
| 8 | 8 | bool "Virtualization" |
|---|
| 9 | | - ---help--- |
|---|
| 9 | + help |
|---|
| 10 | 10 | Say Y here to get to see options for using your Linux host to run |
|---|
| 11 | 11 | other operating systems inside virtual machines (guests). |
|---|
| 12 | 12 | This option alone does not add any kernel code. |
|---|
| .. | .. |
|---|
| 18 | 18 | config KVM |
|---|
| 19 | 19 | tristate "Kernel-based Virtual Machine (KVM) support" |
|---|
| 20 | 20 | depends on HAVE_KVM |
|---|
| 21 | + depends on MIPS_FP_SUPPORT |
|---|
| 21 | 22 | select EXPORT_UASM |
|---|
| 22 | 23 | select PREEMPT_NOTIFIERS |
|---|
| 23 | 24 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
|---|
| 25 | + select HAVE_KVM_EVENTFD |
|---|
| 24 | 26 | select HAVE_KVM_VCPU_ASYNC_IOCTL |
|---|
| 25 | 27 | select KVM_MMIO |
|---|
| 26 | 28 | select MMU_NOTIFIER |
|---|
| 27 | 29 | select SRCU |
|---|
| 28 | | - ---help--- |
|---|
| 30 | + help |
|---|
| 29 | 31 | Support for hosting Guest kernels. |
|---|
| 30 | 32 | |
|---|
| 31 | 33 | choice |
|---|
| .. | .. |
|---|
| 35 | 37 | |
|---|
| 36 | 38 | config KVM_MIPS_TE |
|---|
| 37 | 39 | bool "Trap & Emulate" |
|---|
| 38 | | - ---help--- |
|---|
| 40 | + depends on CPU_MIPS32_R2 |
|---|
| 41 | + help |
|---|
| 39 | 42 | Use trap and emulate to virtualize 32-bit guests in user mode. This |
|---|
| 40 | 43 | does not require any special hardware Virtualization support beyond |
|---|
| 41 | | - standard MIPS32/64 r2 or later, but it does require the guest kernel |
|---|
| 44 | + standard MIPS32 r2 or later, but it does require the guest kernel |
|---|
| 42 | 45 | to be configured with CONFIG_KVM_GUEST=y so that it resides in the |
|---|
| 43 | 46 | user address segment. |
|---|
| 44 | 47 | |
|---|
| 45 | 48 | config KVM_MIPS_VZ |
|---|
| 46 | 49 | bool "MIPS Virtualization (VZ) ASE" |
|---|
| 47 | | - ---help--- |
|---|
| 50 | + help |
|---|
| 48 | 51 | Use the MIPS Virtualization (VZ) ASE to virtualize guests. This |
|---|
| 49 | 52 | supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n), |
|---|
| 50 | 53 | but requires hardware support. |
|---|
| .. | .. |
|---|
| 55 | 58 | bool "KVM/MIPS: Dynamic binary translation to reduce traps" |
|---|
| 56 | 59 | depends on KVM_MIPS_TE |
|---|
| 57 | 60 | default y |
|---|
| 58 | | - ---help--- |
|---|
| 61 | + help |
|---|
| 59 | 62 | When running in Trap & Emulate mode patch privileged |
|---|
| 60 | 63 | instructions to reduce the number of traps. |
|---|
| 61 | 64 | |
|---|
| .. | .. |
|---|
| 64 | 67 | config KVM_MIPS_DEBUG_COP0_COUNTERS |
|---|
| 65 | 68 | bool "Maintain counters for COP0 accesses" |
|---|
| 66 | 69 | depends on KVM |
|---|
| 67 | | - ---help--- |
|---|
| 70 | + help |
|---|
| 68 | 71 | Maintain statistics for Guest COP0 accesses. |
|---|
| 69 | 72 | A histogram of COP0 accesses is printed when the VM is |
|---|
| 70 | 73 | shutdown. |
|---|
| 71 | 74 | |
|---|
| 72 | 75 | If unsure, say N. |
|---|
| 73 | | - |
|---|
| 74 | | -source drivers/vhost/Kconfig |
|---|
| 75 | 76 | |
|---|
| 76 | 77 | endif # VIRTUALIZATION |
|---|