> > >> The command takes a list of key-value pairs. Looks like this
> > >> (example stolen from your patch to qmp-commands.hx):
> > >>
> > >> { "execute": "migrate-set-parameters",
> > >> "arguments": { "parameters":
> > >> [ { "parameter": "compress-level", "value":
On 03/18/2015 08:30 PM, Li, Liang Z wrote:
>>> +'migrate-set-parameters',
>>> + 'data': { 'parameters': ['MigrationParameterStatus'] } }
>>
>> The command takes a list of key-value pairs. Looks like this (example stolen
>> from your patch to qmp-commands.hx):
>>
>> { "execute": "migrate-set-
> >> The command takes a list of key-value pairs. Looks like this
> >> (example stolen from your patch to qmp-commands.hx):
> >>
> >> { "execute": "migrate-set-parameters",
> >> "arguments": { "parameters":
> >> [ { "parameter": "compress-level", "value": 1 }
> >> ]
"Li, Liang Z" writes:
>> > +#
>> > +# Migration parameter information
>> > +#
>> > +# @compress-level: compression level
>> > +#
>> > +# @compress-threads: compression thread count # #
>> > +@decompress-threads: decompression thread count # # Since: 2.3 ## {
>> > +'union': 'MigrationParameterStat
> > +#
> > +# Migration parameter information
> > +#
> > +# @compress-level: compression level
> > +#
> > +# @compress-threads: compression thread count # #
> > +@decompress-threads: decompression thread count # # Since: 2.3 ## {
> > +'union': 'MigrationParameterStatus',
> > + 'base': 'MigrationPa
Copying Eric for additional QAPI design expertise.
I'm going to review just the QAPI schema changes.
Liang Li writes:
> Add the qmp and hmp commands to tune and query the parameters used in
> live migration.
>
> Signed-off-by: Liang Li
> Signed-off-by: Yang Zhang
[...]
> diff --git a/qapi-sch
* Liang Li (liang.z...@intel.com) wrote:
> Add the qmp and hmp commands to tune and query the parameters used in
> live migration.
>
> Signed-off-by: Liang Li
> Signed-off-by: Yang Zhang
Hi,
You might like to split this patch into two; one with no actual
parameters in the lists, and then a s
Liang Li wrote:
> Add the qmp and hmp commands to tune and query the parameters used in
> live migration.
>
> Signed-off-by: Liang Li
> Signed-off-by: Yang Zhang
I agree with the existence of this changes, and we could use them for
existing paramenters like migration_speed (independent of this
Add the qmp and hmp commands to tune and query the parameters used in
live migration.
Signed-off-by: Liang Li
Signed-off-by: Yang Zhang
---
hmp-commands.hx | 17
hmp.c | 56 +
hmp.h | 4 ++
include/m