pci: Implement BusInfo.get_dev_path()
commit4f43c1ff3b8ce99de80db7c51423e5ba8b143802
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 25 Jun 2010 17:08:59 +0000 (25 11:08 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Jul 2010 15:36:28 +0000 (6 10:36 -0500)
treef12bcb4fa986147a9ef4cbe5679aca675ca3a7f4
parent6772b9364a9ef8b44a7c4deef0544df95bf88741
pci: Implement BusInfo.get_dev_path()

This works great for PCI since a <segment>:<bus>:<dev>.<fn> uniquely
describes a global address.  No need to traverse up the qdev tree.
PCI segment support is a placeholder for compatibility once we
support multiple segments.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c