From: Ian Campbell Date: Tue, 11 Jan 2011 18:16:26 +0000 (+0000) Subject: libxl: log which PCI device could not be reset. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~10931^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f25a7171a1a740ec22e6a8ccc1b75fd348b10d91;p=xen.git libxl: log which PCI device could not be reset. Signed-off-by: Ian Campbell Committed-by: Ian Jackson --- diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c index e7312e2f48..29814b00ba 100644 --- a/tools/libxl/libxl_pci.c +++ b/tools/libxl/libxl_pci.c @@ -756,7 +756,7 @@ static int libxl_device_pci_reset(libxl__gc *gc, unsigned int domain, unsigned i 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); }