This patch and future patches can help users to better recognize which
disks connect to which scsi controllers.

Signed-off-by: Lin Ma <[email protected]>
---
 virtManager/details.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtManager/details.py b/virtManager/details.py
index 0923f4b0..22e0786e 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -234,7 +234,7 @@ def _label_for_device(dev):
     if devtype == "filesystem":
         return _("Filesystem %s") % dev.target[:8]
     if devtype == "controller":
-        return _("Controller %s") % dev.pretty_desc()
+        return _("Controller %s %s") % (dev.pretty_desc(), dev.index)
     if devtype == "rng":
         label = _("RNG")
         if dev.device:
-- 
2.14.0

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to