Hi, This is a resend that addresses all comments made in the first round of review. Besides that, it includes a patch that introduces the kvm_pci_reservations hvparam, so that the partitioning of the PCI bus can be configurable and eventually be able to support more than 16 devices (disks and NICs).
Just for the record, the patch-set passes the external buildbot's doclint target [1]. Looking forward to having those patches merged! Thanks a lot, dimara [1] http://buildbot.ganeti.org/ganeti/builders/doclint/builds/2261 `make coverage` fails at ganeti.utils.process_unittest.py. I cannot reproduce it locally and it seems to be failing frequently, also for unrelated patch sets. Dimitris Aragiorgis (7): Add design doc for SCSI support in KVM kvm: Refactor device option handling monitor: Use hvinfo in QMP methods kvm: Work around QEMU commit 48f364dd kvm: Use the new interface during hotplug actions kvm: Introduce scsi_controller_type hvparam kvm: Introduce kvm_pci_reservations hvparam Makefile.am | 1 + doc/design-draft.rst | 1 + doc/design-scsi-kvm.rst | 239 +++++++++++++++ lib/hypervisor/hv_kvm/__init__.py | 407 ++++++++++++++++++++------ lib/hypervisor/hv_kvm/monitor.py | 115 ++++++-- lib/objects.py | 3 +- man/gnt-instance.rst | 19 ++ src/Ganeti/Constants.hs | 58 +++- src/Ganeti/Types.hs | 4 +- test/data/kvm_runtime.json | 21 +- test/py/ganeti.hypervisor.hv_kvm_unittest.py | 56 +++- 11 files changed, 795 insertions(+), 129 deletions(-) create mode 100644 doc/design-scsi-kvm.rst -- 1.7.10.4
