Re: [Qemu-devel] [v7 12/14] migration: Use an array instead of 3 parameters

2015-04-15 Thread Li, Liang Z
> Eric Blake wrote: > > On 04/08/2015 12:20 AM, Liang Li wrote: > >> Put the three parameters related to multiple thread (de)compression > >> into an int array, and use an enum type to index the parameter. > >> > >> Signed-off-by: Liang Li > >> Signed-off-by: Yang Zhang > >> --- > >> include/mi

Re: [Qemu-devel] [v7 12/14] migration: Use an array instead of 3 parameters

2015-04-15 Thread Juan Quintela
Eric Blake wrote: > On 04/08/2015 12:20 AM, Liang Li wrote: >> Put the three parameters related to multiple thread (de)compression >> into an int array, and use an enum type to index the parameter. >> >> Signed-off-by: Liang Li >> Signed-off-by: Yang Zhang >> --- >> include/migration/migration

Re: [Qemu-devel] [v7 12/14] migration: Use an array instead of 3 parameters

2015-04-14 Thread Eric Blake
On 04/08/2015 12:20 AM, Liang Li wrote: > Put the three parameters related to multiple thread (de)compression > into an int array, and use an enum type to index the parameter. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > --- > include/migration/migration.h | 4 +--- > migration/mi

Re: [Qemu-devel] [v7 12/14] migration: Use an array instead of 3 parameters

2015-04-14 Thread Eric Blake
On 04/08/2015 05:37 AM, Juan Quintela wrote: > Liang Li wrote: >> Put the three parameters related to multiple thread (de)compression >> into an int array, and use an enum type to index the parameter. >> >> Signed-off-by: Liang Li >> Signed-off-by: Yang Zhang > > Reviewed-by: Juan Quintela >

Re: [Qemu-devel] [v7 12/14] migration: Use an array instead of 3 parameters

2015-04-08 Thread Juan Quintela
Liang Li wrote: > Put the three parameters related to multiple thread (de)compression > into an int array, and use an enum type to index the parameter. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang Reviewed-by: Juan Quintela BTW, for the libvirt people, what do you think about movi

[Qemu-devel] [v7 12/14] migration: Use an array instead of 3 parameters

2015-04-07 Thread Liang Li
Put the three parameters related to multiple thread (de)compression into an int array, and use an enum type to index the parameter. Signed-off-by: Liang Li Signed-off-by: Yang Zhang --- include/migration/migration.h | 4 +--- migration/migration.c | 31 +++