On 10/08/2010 06:16 AM, Nikunj A. Dadhania wrote:
+static int
+cmdMemtune(vshControl *ctl, const vshCmd *cmd)
+{
+virDomainPtr dom;
+int hard_limit, soft_limit, swap_hard_limit;
This is inherently limited to 32 bits.
+hard_limit = vshCommandOptInt(cmd,
VIR_DOMAIN_MEMORY_HARD_LIMI
On Fri, Oct 08, 2010 at 05:46:51PM +0530, Nikunj A. Dadhania wrote:
> From: Nikunj A. Dadhania
>
> The command helps to control the memory/swap parameters for the system, for
> eg. hard_limit (max memory the vm can use), soft_limit (limit during memory
> contention), swap_hard_limit(max swap the
From: Nikunj A. Dadhania
The command helps to control the memory/swap parameters for the system, for
eg. hard_limit (max memory the vm can use), soft_limit (limit during memory
contention), swap_hard_limit(max swap the vm can use)
v4:
+ virDomainSet/GetMemoryParameters prototype change
+ Move ex