]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: Add SAS controller support
authorDawid Zamirski <dzamirski@datto.com>
Tue, 7 Nov 2017 18:49:29 +0000 (13:49 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 7 Nov 2017 20:38:43 +0000 (15:38 -0500)
commit8b5eefb6bc43e551f5bb3e656c202146a598cc88
tree6fdf4468b205a40d9eda989f0d7ae966b312621c
parente0054c0e5dc7a9bb2fc14ea3771d528211f39e52
vbox: Add SAS controller support

In VirtualBox SAS and SCSI are separate controller types whereas libvirt
does not make such distinction. This patch adds support for attaching
the VBOX SAS controllers by mapping the 'lsisas1068' controller model in
libvirt XML to VBOX SAS controller type. If VBOX VM has disks attached
to both SCSI and SAS controller libvirt domain XML will have two
<controller type='scsci'> elements with index and model attributes set
accordingly. In this case, each respective <disk> element must have
<address> element specified to assign it to respective SCSI controller.
src/vbox/vbox_common.c
src/vbox/vbox_common.h