# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1294769786 0
# Node ID fd6239cbac00eeaebca8459244c995fd4710134a
# Parent ee3a97548604d89a5cb64747d7e06230751da975
libxl: log which PCI device could not be reset.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/libxl/libxl_pci.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r ee3a97548604 -r fd6239cbac00 tools/libxl/libxl_pci.c
--- a/tools/libxl/libxl_pci.c Tue Jan 11 18:15:38 2011 +0000
+++ b/tools/libxl/libxl_pci.c Tue Jan 11 18:16:26 2011 +0000
@@ -756,7 +756,7 @@ static int libxl_device_pci_reset(libxl_
return rc < 0 ? rc : 0;
}
if (errno == ENOENT) {
- LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "The kernel doesn't support PCI
device reset from sysfs");
+ LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "The kernel doesn't support reset
from sysfs for PCI device "PCI_BDF, domain, bus, dev, func);
} else {
LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, "Failed to access reset path
%s", reset);
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|