mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
details: Show controller description + index
This patch and future patches can help users to better recognize which disks connect to which scsi controllers. Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
parent
4e93ad09cb
commit
2e85ad5675
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user