Revision 83fb1de2

b/monitor.c
1602 1602
       monitor_printf(mon, "VM status: paused\n");
1603 1603
}
1604 1604

  
1605

  
1606
static void do_balloon(Monitor *mon, const QDict *qdict)
1605
/**
1606
 * do_balloon(): Request VM to change its memory allocation
1607
 */
1608
static void do_balloon(Monitor *mon, const QDict *qdict, QObject **ret_data)
1607 1609
{
1608 1610
    int value = qdict_get_int(qdict, "value");
1609 1611
    ram_addr_t target = value;
b/qemu-monitor.hx
874 874
        .args_type  = "value:i",
875 875
        .params     = "target",
876 876
        .help       = "request VM to change it's memory allocation (in MB)",
877
        .mhandler.cmd = do_balloon,
877
        .user_print = monitor_user_noop,
878
        .mhandler.cmd_new = do_balloon,
878 879
    },
879 880

  
880 881
STEXI

Also available in: Unified diff