(2.10) KVM: reserve a PCI slot for the SCSI controller
authorApollon Oikonomopoulos <apoikos@gmail.com>
Fri, 28 Mar 2014 18:29:17 +0000 (20:29 +0200)
committerDimitris Aragiorgis <dimara@grnet.gr>
Tue, 1 Apr 2014 11:11:51 +0000 (14:11 +0300)
commitbf9695690ec58cf15b969d2f6e0bc994c76fa9e8
tree879b46b603a55925b7d47a347742b9ae049eb77b
parent0271b044bb184df5e1e81b6ed84d89d278f5aa4a
(2.10) KVM: reserve a PCI slot for the SCSI controller

Currently instances with disk_type=scsi are broken, because the SCSI
controller uses a PCI slot not accounted for in the PCI assignment
logic. We reserve a throw-away slot just for that.

This is a temporary workaround and will be reverted during the upcoming
refactoring.

Signed-off-by: Apollon Oikonomopoulos <apoikos@gmail.com>
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/hypervisor/hv_kvm.py