mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
virtinst: display the domain for PCI devices
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1085499 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
86fc54be8e
commit
e980d9c737
@ -169,7 +169,8 @@ class PCIDevice(NodeDevice):
|
|||||||
iommu_group = XMLProperty("./capability/iommuGroup/@number", is_int=True)
|
iommu_group = XMLProperty("./capability/iommuGroup/@number", is_int=True)
|
||||||
|
|
||||||
def pretty_name(self):
|
def pretty_name(self):
|
||||||
devstr = "%.2X:%.2X:%X" % (int(self.bus),
|
devstr = "%.4X:%.2X:%.2X:%X" % (int(self.domain),
|
||||||
|
int(self.bus),
|
||||||
int(self.slot),
|
int(self.slot),
|
||||||
int(self.function))
|
int(self.function))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user