mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 20:51:26 +00:00
Add log statement when NBD device is setup
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
9f53ffcb81
commit
64d4eb6a50
@ -838,6 +838,8 @@ int virFileNBDDeviceAssociate(const char *file,
|
|||||||
if (virCommandRun(cmd, NULL) < 0)
|
if (virCommandRun(cmd, NULL) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
|
VIR_DEBUG("Associated NBD device %s with file %s and format %s",
|
||||||
|
nbddev, file, fmtstr);
|
||||||
*dev = nbddev;
|
*dev = nbddev;
|
||||||
nbddev = NULL;
|
nbddev = NULL;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user