mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
For better performance allows enabling the virtio-scsi model on the scsi controller in VM's. Additionally supports inferring use of virtio-scsi model from disk device or bus, and similarly infer the correct values for these based on device or bus. Currently one controller per 7 domain volume disks is created, this follows virt-manager's behaviour, and is assumed a reasonable default. However note that virtio-scsi should be capable of allowing many more disks to be assigned per controller than this. It is presumed that the source of the number 7 is allowing for 8 devices per controller including the host adapter, which therefore allows for 7. Hardware SCSI controllers typically supported 16 addressable devices including the adapter providing for a 15 disk limit. Whether this is necessary is not yet clear. Co-authored-by: Darragh Bailey <daragh.bailey@gmail.com>