Re: [Qemu-devel] [v4 12/13] migration: Add command to set migration parameter

2015-02-03 Thread Eric Blake
On 02/03/2015 06:26 PM, Li, Liang Z wrote: >> Hmm - do we really need two parameters here? Remember, compress >> threads is used only on the source, and decompress threads is used only on >> the destination. Having a single parameter, 'threads', which is set to >> compression threads on source a

Re: [Qemu-devel] [v4 12/13] migration: Add command to set migration parameter

2015-02-03 Thread Li, Liang Z
> > +++ b/migration/migration.c > > @@ -66,9 +66,12 @@ MigrationState *migrate_get_current(void) > > .bandwidth_limit = MAX_THROTTLE, > > .xbzrle_cache_size = DEFAULT_MIGRATE_CACHE_SIZE, > > .mbps = -1, > > -.compress_thread_count = > DEFAULT_MIGRATE_COMPRESS_THR

Re: [Qemu-devel] [v4 12/13] migration: Add command to set migration parameter

2015-02-03 Thread Eric Blake
On 02/02/2015 04:05 AM, Liang Li wrote: > Add the qmp and hmp commands to tune the parameters used in live > migration. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > --- > hmp-commands.hx | 15 ++ > hmp.c | 35 ++ > h

[Qemu-devel] [v4 12/13] migration: Add command to set migration parameter

2015-02-02 Thread Liang Li
Add the qmp and hmp commands to tune the parameters used in live migration. Signed-off-by: Liang Li Signed-off-by: Yang Zhang --- hmp-commands.hx | 15 ++ hmp.c | 35 ++ hmp.h | 3 ++ include/migration/mi