[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Fix xm mem-max command



> When I tested xm mem-max and xm list, I saw the following error
> message by xm list.  Because xm mem-max always changes
> "memory_static_max", I think that the cause of the error message
> is it.  This patch fixes it.

Nice catch, patch looks good.

Acked-by: Mark Williamson <mark.williamson@xxxxxxxxxxxx>

Cheers,
Mark

> # xm list --long PVdomain.1 | grep mem
>     (maxmem 1024)
>     (memory 1024)
>     (shadow_memory 0)
> # xm mem-max PVdomain.1 512
> Error: (22, 'Invalid argument')
> Usage: xm mem-max <Domain> <Mem>
>
> Set the maximum amount reservation for a domain.
> # xm list --long PVdomain.1 | grep mem
> Error: memory_dynamic_max must be less than or equal to memory_static_max
>
>
> Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
>
> Best regards,
>  Kan



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.