Hi This is a version against current code. It is based on top of QIO work. It improves the thread synchronization and fixes the problem when we could have two threads handing the same page.
Please comment, Juan. Juan Quintela (13): migration: create Migration Incoming State at init time migration: [HACK] Don't create decompression threads if not enabled migration: Add multifd capability migration: Create x-multifd-threads parameter migration: create multifd migration threads migration: Start of multiple fd work migration: create ram_multifd_page migration: Create thread infrastructure for multifd send side migration: Send the fd number which we are going to use for this page migration: Create thread infrastructure for multifd recv side migration: Test new fd infrastructure migration: [HACK]Transfer pages over new channels migration: flush receive queue hmp.c | 9 + include/migration/migration.h | 16 +- migration/migration.c | 93 +++++++--- migration/ram.c | 420 +++++++++++++++++++++++++++++++++++++++++- migration/savevm.c | 4 +- migration/socket.c | 53 +++++- qapi-schema.json | 20 +- 7 files changed, 580 insertions(+), 35 deletions(-) -- 2.7.4