mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
Clarify an error message in setmem.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
6f17a5d166
commit
28b9a6c769
@ -2407,7 +2407,8 @@ cmdSetmem(vshControl *ctl, const vshCmd *cmd)
|
||||
|
||||
if (kilobytes > info.maxMem) {
|
||||
virDomainFree(dom);
|
||||
vshError(ctl, _("Invalid value of %d for memory size"), kilobytes);
|
||||
vshError(ctl, _("Requested memory size %d kb is larger than maximum of %lu kb"),
|
||||
kilobytes, info.maxMem);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user