提交 64d4eb6a 编写于 作者: D Daniel P. Berrange

Add log statement when NBD device is setup

Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 9f53ffcb
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册