提交 62ee5d57 编写于 作者: D Daniel Veillard

error message on vcpupin

* src/virsh.c: patch from Shigeki Sakamoto adding message on vcpupin
Daniel
上级 3a50451e
Fri Apr 4 13:19:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/virsh.c: patch from Shigeki Sakamoto adding message on vcpupin
Fri Apr 4 10:04:23 CEST 2008 Daniel Veillard <veillard@redhat.com>
* docs//* po/*: regenerated the documentation and reextracted the
......
......@@ -1741,12 +1741,14 @@ cmdVcpupin(vshControl * ctl, vshCmd * cmd)
}
if (virDomainGetInfo(dom, &info) != 0) {
vshError(ctl, FALSE, "%s", _("vcpupin: Invalid vCPU number."));
vshError(ctl, FALSE, "%s",
_("vcpupin: failed to get domain informations."));
virDomainFree(dom);
return FALSE;
}
if (vcpu >= info.nrVirtCpu) {
vshError(ctl, FALSE, _("vcpupin: Invalid vCPU number."));
virDomainFree(dom);
return FALSE;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册