qemu/monitor
Mao Zhongyi fe025508c0 monitor/hmp-cmds: don't silently output when running 'migrate_set_downtime' fails
Although 'migrate_set_downtime' has been deprecated and replaced
with 'migrate_set_parameter downtime_limit', it has not been
completely eliminated, possibly due to compatibility with older
versions. I think as long as this old parameter is running, we
should report appropriate message when something goes wrong, not
be silent.

before:
(qemu) migrate_set_downtime -1
(qemu)

after:
(qemu) migrate_set_downtime -1
Error: Parameter 'downtime_limit' expects an integer in the range of 0 to 2000 seconds

Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20200603080904.997083-5-maozhongyi@cmss.chinamobile.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-06-17 17:48:39 +01:00
..
hmp-cmds.c monitor/hmp-cmds: don't silently output when running 'migrate_set_downtime' fails 2020-06-17 17:48:39 +01:00
hmp.c hmp: Fail gracefully if chardev is already in use 2020-03-06 17:21:28 +01:00
Makefile.objs qemu-storage-daemon: Add --monitor option 2020-03-06 17:21:28 +01:00
misc.c memory: Make 'info mtree' not display disabled regions by default 2020-06-10 12:10:49 -04:00
monitor-internal.h qom: Clean up inconsistent use of gchar * vs. char * 2020-05-15 06:26:02 +02:00
monitor.c monitor: Add allow_hmp parameter to monitor_init() 2020-03-06 17:21:28 +01:00
qmp-cmds-control.c qmp: constify QmpCommand and list 2020-03-17 21:43:12 +01:00
qmp-cmds.c block: Move sysemu QMP commands to QAPI block module 2020-03-06 17:15:38 +01:00
qmp.c qapi: Disallow qmp_marshal_FOO(NULL, ...) 2020-04-30 07:26:41 +02:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00