mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
666834c47d
ACRN Hypervisor Service Module (HSM) is a kernel module in Service VM which communicates with ACRN userspace through ioctls and talks to ACRN Hypervisor through hypercalls. Add a basic HSM driver which allows Service VM userspace to communicate with ACRN. The following patches will add more ioctls, guest VM memory mapping caching, I/O request processing, ioeventfd and irqfd into this module. HSM exports a char device interface (/dev/acrn_hsm) to userspace. Cc: Dave Hansen <dave.hansen@intel.com> Cc: Zhi Wang <zhi.a.wang@intel.com> Cc: Zhenyu Wang <zhenyuw@linux.intel.com> Cc: Yu Wang <yu1.wang@intel.com> Cc: Reinette Chatre <reinette.chatre@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Shuo Liu <shuo.a.liu@intel.com> Link: https://lore.kernel.org/r/20210207031040.49576-6-shuo.a.liu@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Virtualization support drivers
|
|
#
|
|
|
|
menuconfig VIRT_DRIVERS
|
|
bool "Virtualization drivers"
|
|
help
|
|
Say Y here to get to see options for device drivers that support
|
|
virtualization environments.
|
|
|
|
If you say N, all options in this submenu will be skipped and disabled.
|
|
|
|
if VIRT_DRIVERS
|
|
|
|
config FSL_HV_MANAGER
|
|
tristate "Freescale hypervisor management driver"
|
|
depends on FSL_SOC
|
|
select EPAPR_PARAVIRT
|
|
help
|
|
The Freescale hypervisor management driver provides several services
|
|
to drivers and applications related to the Freescale hypervisor:
|
|
|
|
1) An ioctl interface for querying and managing partitions.
|
|
|
|
2) A file interface to reading incoming doorbells.
|
|
|
|
3) An interrupt handler for shutting down the partition upon
|
|
receiving the shutdown doorbell from a manager partition.
|
|
|
|
4) A kernel interface for receiving callbacks when a managed
|
|
partition shuts down.
|
|
|
|
source "drivers/virt/vboxguest/Kconfig"
|
|
|
|
source "drivers/virt/nitro_enclaves/Kconfig"
|
|
|
|
source "drivers/virt/acrn/Kconfig"
|
|
endif
|