#
# Alibaba Dragonball Secure Container Runtime Drivers for vsock
#

config DRAGONBALL_VSOCK_SRV
	bool "Dragonball in-kernel Virtual Sockets Server"
	depends on VIRTIO_VSOCKETS
	default y
	help
	  This configure implements an in-kernel vsock server to dispatch Dragonball
	  requests to registered service handlers, based on the reliable Virtual
	  Sockets communication channels between guest and host/vmm.

	  If unsure, say N.

config DRAGONBALL_DEVICE_MANAGER
	bool "Vsock Service to Handle Dragonball Device Management Requests"
	depends on DRAGONBALL_VSOCK_SRV
	default y
	help
	  This configure implements a vsock service to handle Dragonball device
	  management requests, such as getting device information, hot-plugging
	  devices etc.

	  If unsure, say N.

config DRAGONBALL_HOTPLUG_VIRTIO_MMIO
	bool "Virtio-MMIO device hotplug/hotunplug support"
	depends on DRAGONBALL_DEVICE_MANAGER
	depends on VIRTIO_MMIO_DRAGONBALL
	default y
	help
	  This configure implements a Virtio-MMIO device hotplug/hotunplug
	  support, vmm should send hotplug request by vsock which follow
	  special data structure with command and parameter to hot-pluging
	  an MMIO device.

	  If unsure, say N.

config DRAGONBALL_HOTPLUG_CPU
   bool "CPU hotplug/hotunplug support"
   depends on DRAGONBALL_DEVICE_MANAGER
   default y
   help
     This configure implements a vCPU hotplug/hotunplug support, vmm
     should send hotplug request by vsock which follow special data
     structure with command and parameter to hot-pluging an vCPU.

     If unsure, say N.
