|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Fix xm mem-max command
Hi,
I got similar problems with these scripts on the range of int. Do you know how to solve them radically?
weiming
2008/2/26 Masaki Kanno < kanno.masaki@xxxxxxxxxxxxxx>:
Hi,
When I gave 2 TiB or more to xm mem-max command, I saw the following
error message. But the maxmem value was changed.
# xm list --long vm1 | grep maxmem
(maxmem 256)
# xm mem-max vm1 2097152
Error: long int too large to convert to int
Usage: xm mem-max <Domain> <Mem>
Set the maximum amount reservation for a domain.
# xm list --long vm1 | grep maxmem
(maxmem 2097152)
This patch reverts the maxmem value to the previous maxmem value when
the error occurs.
# xm list --long vm1 | grep maxmem
(maxmem 256)
# xm mem-max vm1 2097152
Error: long int too large to convert to int
Usage: xm mem-max <Domain> <Mem>
Set the maximum amount reservation for a domain.
# xm list --long vm1 | grep maxmem
(maxmem 256)
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
Kan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|