Re: [PATCH 5/5] kvm tools: specify the amount to balloon is in MB

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

 



> Signed-off-by: William Dauchy <william@xxxxxxxxx>
> ---
>  tools/kvm/builtin-balloon.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/kvm/builtin-balloon.c b/tools/kvm/builtin-balloon.c
> index 5bd2291..d158ace 100644
> --- a/tools/kvm/builtin-balloon.c
> +++ b/tools/kvm/builtin-balloon.c
> @@ -22,8 +22,8 @@ static const struct option balloon_options[] = {
>  	OPT_GROUP("Instance options:"),
>  	OPT_STRING('n', "name", &instance_name, "name", "Instance name"),
>  	OPT_GROUP("Balloon options:"),
> -	OPT_U64('i', "inflate", &inflate, "Amount to inflate"),
> -	OPT_U64('d', "deflate", &deflate, "Amount to deflate"),
> +	OPT_U64('i', "inflate", &inflate, "Amount to inflate (in MB)"),
> +	OPT_U64('d', "deflate", &deflate, "Amount to deflate (in MB)"),
>  	OPT_END(),
>  };

Applied, thanks!

Btw, looks like tools/kvm/virtio/ballon.c::handle_mem() is broken on 
architectures that don't use 4K pages. I'm happy to apply a patch that 
fixes it :-)

			Pekka
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux