[virt-tools-list] [virt-manager PATCH 0/7] some scsi improvement and bugfixes

Lin Ma lma at suse.com
Mon Nov 6 12:52:02 UTC 2017


using libvirt's rules to create addresses while we add or configure scsi
disks introduces some issues.
In multiple virtual scsi controllers case, Sometimes libvirt creates
unnecessary scsi controllers for us, sometimes attaching disks to scsi
controllers which we don't want.

And currently, virt-manager can't correctly handle 7 scsi devices per scsi
controller.

This patch set fixes these issues, added a scsi controller index option
when users add/configure scsi bus, and added a option for specifically
for virtio-scsi, This way, users can exactly control which scsi disks
attach to which scsi controllers.


Lin Ma (7):
  details: Disallow removing the scsi controller if disks attached to it
  details: Show controller description + index
  details: Show attached disk information in scsi controller page
  addhardware: Correctly handle 7 devices per narrow virtio-scsi
    controller
  addhardware: Correctly calculate virtio-scsi controller index
  testdriver: add missing addrStr for scsi disk
  scsi: Add controller index option and virtio-scsi bus option

 tests/testdriver.xml       |   2 +-
 ui/addhardware.ui          |  40 +++++++++++++++
 ui/details.ui              |  88 ++++++++++++++++++++++++++++++++
 virtManager/addhardware.py | 124 +++++++++++++++++++++++++++++++++++----------
 virtManager/details.py     | 111 +++++++++++++++++++++++++++++++++++++++-
 virtManager/domain.py      |   7 ++-
 virtinst/device.py         |  15 +++++-
 virtinst/devicedisk.py     |   2 +
 8 files changed, 357 insertions(+), 32 deletions(-)

-- 
2.14.0




More information about the virt-tools-list mailing list