]> xenbits.xensource.com Git - xen.git/commit
pci: add wrapper for parse_pci
authorElena Ufimtseva <elena.ufimtseva@oracle.com>
Wed, 25 Jan 2017 09:37:43 +0000 (10:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Jan 2017 09:37:43 +0000 (10:37 +0100)
commit537043d72774c044e25e3186d4683b96da30d72c
tree1e51707e4370e2e176f9299b8b383fbd07d42b21
parent0cd6e37dc9bb79d9e7002565e91bee9c9eef1471
pci: add wrapper for parse_pci

For sbdf's parsing in RMRR command line, add parse_pci_seg with additional
parameter def_seg. parse_pci_seg will help to identify if segment was
found in string being parsed or default segment was used.
Make a wrapper parse_pci so the rest of the callers are not affected.

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Venu Busireddy <venu.busireddy@oracle.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/pci/pci.c
xen/include/xen/pci.h