debuggers.hg

changeset 22765:fd6239cbac00

libxl: log which PCI device could not be reset.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Ian Campbell <ian.campbell@citrix.com>
date Tue Jan 11 18:16:26 2011 +0000 (2011-01-11)
parents ee3a97548604
children 5b8034ce8b8c
files tools/libxl/libxl_pci.c
line diff
     1.1 --- a/tools/libxl/libxl_pci.c	Tue Jan 11 18:15:38 2011 +0000
     1.2 +++ b/tools/libxl/libxl_pci.c	Tue Jan 11 18:16:26 2011 +0000
     1.3 @@ -756,7 +756,7 @@ static int libxl_device_pci_reset(libxl_
     1.4          return rc < 0 ? rc : 0;
     1.5      }
     1.6      if (errno == ENOENT) {
     1.7 -        LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "The kernel doesn't support PCI device reset from sysfs");
     1.8 +        LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "The kernel doesn't support reset from sysfs for PCI device "PCI_BDF, domain, bus, dev, func);
     1.9      } else {
    1.10          LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, "Failed to access reset path %s", reset);
    1.11      }