monitor: Use QERR_INVALID_PARAMETER instead of QERR_INVALID_CPU_INDEX
This changes the error message from "Invalid CPU index" to "Invalidparameter index" in the human monitor.
Signed-off-by: Markus Armbruster <armbru@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Revert "QError: New QERR_INVALID_CPU_INDEX"
This reverts commit 64a34bb14c0e358a6b2f14805e59ef25bf62d6d5.
qemu-option: Make qemu_opts_foreach() accumulate return values
Return the bitwise inclusive or of all return values instead of thelast call's value. This lets you find out whether any of the callsreturned a non-zero value.
No functional change, as existing users either don't care for the...
monitor: New argument type 'b'
This is a double value with optional suffixes G, g, M, m, K, k. We'llneed this to get migrate_set_speed() QMP-ready.
monitor: Use argument type 'b' for migrate_set_speed
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 touint32_t, which wrecked the sign....
monitor: convert do_migrate_set_speed() to QObject
monitor: New argument type 'T'
This is a double value with optional suffixes ms, us, ns. We'll needthis to get migrate_set_downtime() QMP-ready.
monitor: Use argument type 'T' for migrate_set_downtime
monitor: convert do_migrate_set_downtime() to QObject
QDict: New qdict_get_double()
Helper function just like qdict_get_int(), just for QFloat/double.
View all revisions | View revisions
Also available in: Atom