projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
095e1c2
)
libxl: When checking BDF of existing slots, function should be decimal, not hex
author
George Dunlap
<george.dunlap@eu.citrix.com>
Tue, 29 May 2012 09:31:36 +0000
(10:31 +0100)
committer
George Dunlap
<george.dunlap@eu.citrix.com>
Tue, 29 May 2012 09:31:36 +0000
(10:31 +0100)
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Spotted-by: Konrad Wilk <konrad.wilk@oracle.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_pci.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_pci.c
b/tools/libxl/libxl_pci.c
index e9809950e6668bbe966603c240c99d983e5ac968..3b82e9990e51ceb8d63e7d8fdda47cc2785b5368 100644
(file)
--- a/
tools/libxl/libxl_pci.c
+++ b/
tools/libxl/libxl_pci.c
@@
-480,7
+480,7
@@
static int pciback_dev_has_slot(libxl__gc *gc, libxl_device_pci *pcidev)
return ERROR_FAIL;
}
- while(fscanf(f, "%x:%x:%x.%
x
\n", &dom, &bus, &dev, &func)==4) {
+ while(fscanf(f, "%x:%x:%x.%
d
\n", &dom, &bus, &dev, &func)==4) {
if(dom == pcidev->domain
&& bus == pcidev->bus
&& dev == pcidev->dev