migration: Use an array instead of 3 parameters
commit43c60a81ba15ea040709be5809a279a4ca59b26b
authorLiang Li <liang.z.li@intel.com>
Mon, 23 Mar 2015 08:32:27 +0000 (23 16:32 +0800)
committerJuan Quintela <quintela@redhat.com>
Thu, 7 May 2015 16:31:53 +0000 (7 18:31 +0200)
tree5d25cdadd81a1fa4988ba9fcb40d6c21e95453c6
parentdde4e694ae576462990b2ce711e62565e085c261
migration: Use an array instead of 3 parameters

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 <liang.z.li@intel.com>
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/migration.h
migration/migration.c
qapi-schema.json