162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Virtualization support drivers
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cimenuconfig VIRT_DRIVERS
762306a36Sopenharmony_ci	bool "Virtualization drivers"
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  Say Y here to get to see options for device drivers that support
1062306a36Sopenharmony_ci	  virtualization environments.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	  If you say N, all options in this submenu will be skipped and disabled.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciif VIRT_DRIVERS
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig VMGENID
1762306a36Sopenharmony_ci	tristate "Virtual Machine Generation ID driver"
1862306a36Sopenharmony_ci	default y
1962306a36Sopenharmony_ci	depends on ACPI
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  Say Y here to use the hypervisor-provided Virtual Machine Generation ID
2262306a36Sopenharmony_ci	  to reseed the RNG when the VM is cloned. This is highly recommended if
2362306a36Sopenharmony_ci	  you intend to do any rollback / cloning / snapshotting of VMs.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	  Prefer Y to M so that this protection is activated very early.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig FSL_HV_MANAGER
2862306a36Sopenharmony_ci	tristate "Freescale hypervisor management driver"
2962306a36Sopenharmony_ci	depends on FSL_SOC
3062306a36Sopenharmony_ci	select EPAPR_PARAVIRT
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci          The Freescale hypervisor management driver provides several services
3362306a36Sopenharmony_ci	  to drivers and applications related to the Freescale hypervisor:
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci          1) An ioctl interface for querying and managing partitions.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci          2) A file interface to reading incoming doorbells.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci          3) An interrupt handler for shutting down the partition upon
4062306a36Sopenharmony_ci	     receiving the shutdown doorbell from a manager partition.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci          4) A kernel interface for receiving callbacks when a managed
4362306a36Sopenharmony_ci	     partition shuts down.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_cisource "drivers/virt/vboxguest/Kconfig"
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_cisource "drivers/virt/nitro_enclaves/Kconfig"
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_cisource "drivers/virt/acrn/Kconfig"
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_cisource "drivers/virt/coco/efi_secret/Kconfig"
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_cisource "drivers/virt/coco/sev-guest/Kconfig"
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_cisource "drivers/virt/coco/tdx-guest/Kconfig"
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciendif
58