diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-01-11 18:16:26 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-01-11 18:16:26 +0000 |
commit | f25a7171a1a740ec22e6a8ccc1b75fd348b10d91 (patch) | |
tree | a144b678cb8c75f299dd4451ae780fd4e04fb15d | |
parent | 382571fcdea4ac28050cf47aa723a8d4c5cedf67 (diff) | |
download | xen-f25a7171a1a740ec22e6a8ccc1b75fd348b10d91.tar.gz xen-f25a7171a1a740ec22e6a8ccc1b75fd348b10d91.tar.bz2 xen-f25a7171a1a740ec22e6a8ccc1b75fd348b10d91.zip |
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>
-rw-r--r-- | tools/libxl/libxl_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |