| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # |
| 3 | # Virtualization support drivers |
| 4 | # |
| 5 | |
| 6 | menuconfig VIRT_DRIVERS |
| 7 | bool "Virtualization drivers" |
| 8 | help |
| 9 | Say Y here to get to see options for device drivers that support |
| 10 | virtualization environments. |
| 11 | |
| 12 | If you say N, all options in this submenu will be skipped and disabled. |
| 13 | |
| 14 | if VIRT_DRIVERS |
| 15 | |
| 16 | config VMGENID |
| 17 | tristate "Virtual Machine Generation ID driver" |
| 18 | default y |
| 19 | help |
| 20 | Say Y here to use the hypervisor-provided Virtual Machine Generation ID |
| 21 | to reseed the RNG when the VM is cloned. This is highly recommended if |
| 22 | you intend to do any rollback / cloning / snapshotting of VMs. |
| 23 | |
| 24 | Prefer Y to M so that this protection is activated very early. |
| 25 | |
| 26 | config FSL_HV_MANAGER |
| 27 | tristate "Freescale hypervisor management driver" |
| 28 | depends on FSL_SOC |
| 29 | select EPAPR_PARAVIRT |
| 30 | help |
| 31 | The Freescale hypervisor management driver provides several services |
| 32 | to drivers and applications related to the Freescale hypervisor: |
| 33 | |
| 34 | 1) An ioctl interface for querying and managing partitions. |
| 35 | |
| 36 | 2) A file interface to reading incoming doorbells. |
| 37 | |
| 38 | 3) An interrupt handler for shutting down the partition upon |
| 39 | receiving the shutdown doorbell from a manager partition. |
| 40 | |
| 41 | 4) A kernel interface for receiving callbacks when a managed |
| 42 | partition shuts down. |
| 43 | |
| 44 | config STEAL_GOVERNOR |
| 45 | tristate "Dynamic vCPU management based on steal time" |
| 46 | depends on PARAVIRT && SMP |
| 47 | select PREFERRED_CPU |
| 48 | default m |
| 49 | help |
| 50 | This driver helps to reduce the steal time in paravirtualized |
| 51 | environments, thereby reducing vCPU preemption costs. |
| 52 | |
| 53 | By default preferred CPUs will be same as active CPUs. Depending |
| 54 | on the steal time when steal_governor driver is enabled, |
| 55 | preferred CPUs could become subset of active CPUs. |
| 56 | More details are at: Documentation/driver-api/steal-governor.rst |
| 57 | |
| 58 | It is recommended to build it as module and load the module |
| 59 | to enable it. |
| 60 | |
| 61 | source "drivers/virt/vboxguest/Kconfig" |
| 62 | |
| 63 | source "drivers/virt/nitro_enclaves/Kconfig" |
| 64 | |
| 65 | source "drivers/virt/acrn/Kconfig" |
| 66 | |
| 67 | endif |
| 68 | |
| 69 | source "drivers/virt/coco/Kconfig" |