diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-12-18 13:25:05 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-19 08:26:28 -0600 |
commit | 5543b41167c1677a6a3d44c1ca727531c3315128 (patch) | |
tree | d6bb1cd376a54256ec6255ed6f076bf0afc3c5d2 /qemu-monitor.hx | |
parent | monitor: Introduce 'M' argument type (diff) | |
download | qemu-kvm-5543b41167c1677a6a3d44c1ca727531c3315128.tar.gz qemu-kvm-5543b41167c1677a6a3d44c1ca727531c3315128.tar.bz2 qemu-kvm-5543b41167c1677a6a3d44c1ca727531c3315128.zip |
monitor: do_balloon(): Use 'M' argument type
This makes do_balloon() accept megabyte values from the user
Monitor while accepting byte values for QMP.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 056001ab30b1e596b992e70f9cb2adacef9c0ad0)
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r-- | qemu-monitor.hx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 338e30e7d..aac0f3e51 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -887,7 +887,7 @@ ETEXI { .name = "balloon", - .args_type = "value:i", + .args_type = "value:M", .params = "target", .help = "request VM to change it's memory allocation (in MB)", .user_print = monitor_user_noop, |