xapi-project/xen-api — pull request #1563 by johnelse (2013-11-26 17:04:25+00:00)
Title: Support both GPU PCI bus address formats

The NVIDIA procfs file currently uses the format:

xxxx:xx.xx.x

But everywhere else (lspci, sysfs, xapi/xenopsd) uses the format:

xxxx:xx:xx.x

This change means that the NVIDIA unbind code understands both formats,
in case the procfs file changes in future to use the format used
elsewhere.