DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
A table named disk_controller_mapping will be created in the cloud schema with the following columns:`
| Name | Type | Nullable | Default | Description |
|---|---|---|---|---|
| id | bigint(20) unsigned | No | Auto increment | - |
| uuid | varchar(40) | No | - | - |
| name | text | No | - | Name used to identify the disk controller in configurations such as rootDiskController, dataDiskController and vmware.root.disk.controller |
| controller_reference | text | No | - | This column represents the reference to the controller. For VMware, it will be the disk controller's classpath; e.g: com.vmware.vim25.VirtualLsiLogicController. For KVM, it will be the controller's model; e.g. lsilogic |
| bus_name | text | No | - | Name of the disk controller's bus; e.g: scsi for lsilogic controllers |
| hypervisor | text | No | - | Hypervisor this mapping should be available for |
| max_device_count | int unsigned | Yes | NULL | VMware: maximum number of virtual disks a single controller can be associated with |
| max_controller_count | int unsigned | Yes | NULL | VMware: maximum number of the controllers that a single virtual machine can have; controllers sharing the same `supertype` will be considered together |
| vmdk_adapter_type | text | Yes | NULL | VMware: the VMDK file's ddb.adapterType value for disks using this controller |
| min_hardware_version | text | Yes | NULL | Minimum hardware/software version of the VM which supports the disk controller; if null, no restriction will be applied In VMware, for instance, PVSCSI requires a minimum virtual hardware version of 7, SATA requires version 10, and NVME requires 13 |
The relevant parts from the current VM start process are summarized in the following workflow.
...
VmwareStorageProcessor will receive an AttachCommand containing a pair with the VM's rootDiskController and dataDiskController settings.rootDiskController and dataDiskController.ddb.adapterType) to the new disk controller's vmdk_adapter_type column.VirtualMachineConfigSpec.VirtualDeviceConfigSpec that gets added to the VirtualMachineConfigSpec.VirtualMachineConfigSpec....
This spec addressed the creation of a flexible method of adding support for new disk controllers without having to extend CloudStack. This initial proposal is for environments using VMware; however, this feature can also be extended for KVM and XenServer in the future. Moreover, we can also create APIs to allow adding, removing and listing the controllers available for each hypervisor.