]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Add log statement when NBD device is setup
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Oct 2013 15:35:15 +0000 (16:35 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 16 Oct 2013 11:22:40 +0000 (12:22 +0100)
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virfile.c

index e10de5aae725c0b72550b23a618d599162ab2a52..f6fd2a864dba9ced2da2b2ff096e82fb127c6b74 100644 (file)
@@ -838,6 +838,8 @@ int virFileNBDDeviceAssociate(const char *file,
     if (virCommandRun(cmd, NULL) < 0)
         goto cleanup;
 
+    VIR_DEBUG("Associated NBD device %s with file %s and format %s",
+              nbddev, file, fmtstr);
     *dev = nbddev;
     nbddev = NULL;
     ret = 0;