pointed out by Masayuki Sunou
Daniel
+Tue Mar 20 16:40:06 CET 2007 Daniel Veillard <veillard@redhat.com>
+
+ * src/virsh.c: add error messages for negative memory size as
+ pointed out by Masayuki Sunou
+
Tue Mar 20 16:30:29 CET 2007 Daniel Veillard <veillard@redhat.com>
* src/xen_internal.c: applied patch from Atsushi SAKAI fixing
bytes = vshCommandOptInt(cmd, "bytes", &bytes);
if (bytes <= 0) {
virDomainFree(dom);
+ vshError(ctl, FALSE, _("Invalid value of %d for memory size"), bytes);
return FALSE;
}
bytes = vshCommandOptInt(cmd, "bytes", &bytes);
if (bytes <= 0) {
virDomainFree(dom);
+ vshError(ctl, FALSE, _("Invalid value of %d for memory size"), bytes);
return FALSE;
}