提交 f278a148 编写于 作者: N Nitesh Konkar 提交者: John Ferlan

Mention the min duration for nodesuspend explicitly

Although currently this is documented in virsh man page
and virsh help, the expicit mention in the error message
is helful for tools using the API directly.
Signed-off-by: NNitesh Konkar <nitkon12@linux.vnet.ibm.com>
上级 732629da
......@@ -76,7 +76,9 @@ static int virNodeSuspendSetNodeWakeup(unsigned long long alarmTime)
int ret = -1;
if (alarmTime < MIN_TIME_REQ_FOR_SUSPEND) {
virReportError(VIR_ERR_INVALID_ARG, "%s", _("Suspend duration is too short"));
virReportError(VIR_ERR_INVALID_ARG,
_("Suspend duration is too short, must be at least %u seconds"),
MIN_TIME_REQ_FOR_SUSPEND);
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册