]> git.proxmox.com Git - mirror_qemu.git/commit - hmp-commands.hx
monitor: Use argument type 'T' for migrate_set_downtime
authorMarkus Armbruster <armbru@redhat.com>
Mon, 25 Jan 2010 13:23:07 +0000 (14:23 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 3 Feb 2010 18:36:26 +0000 (12:36 -0600)
commitb0fbf7d3420f5f66be9728b1b070846bb054c872
tree5ad542968e87a144f53366e45ab0a0df87f858e1
parentfccfb11e0d24ece016825ae064230a2a05d23ed8
monitor: Use argument type 'T' for migrate_set_downtime

Before, it used type 's', which strips quotes and interprets escapes,
and is quite inappropriate for QMP.

Negative arguments are no flushed to zero.  Before, they were cast to
uint32_t, which wrecked the sign.

Ridiculously large arguments including infinities are now rejected.
Before, they were interpreted as zero.  Same for NaN.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration.c
qemu-monitor.hx