]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
error message on vcpupin
authorDaniel Veillard <veillard@redhat.com>
Fri, 4 Apr 2008 11:20:45 +0000 (11:20 +0000)
committerDaniel Veillard <veillard@redhat.com>
Fri, 4 Apr 2008 11:20:45 +0000 (11:20 +0000)
* src/virsh.c: patch from Shigeki Sakamoto adding message on vcpupin
Daniel

ChangeLog
src/virsh.c

index 2ceffda5739a7e0b186e55befb9cd165975c7b8b..4679180395be0acae547e3a0d0b3614a540c6ae2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index 6fe87e3c387c08c7f4f8eee78a589f5c003a0a98..9534af468f6d102f1d466282b9422711917fe443 100644 (file)
@@ -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;
     }