migration: pass MigrationIncomingState* into migration check functions
commitd7651f150d61936344c4fab45eaeb0716c606af2
authorAlexey Perevalov <a.perevalov@samsung.com>
Tue, 19 Sep 2017 16:47:56 +0000 (19 19:47 +0300)
committerJuan Quintela <quintela@redhat.com>
Fri, 22 Sep 2017 12:11:27 +0000 (22 14:11 +0200)
treed45a04890eb1899a9e4f64b4c88d32ad3d02814d
parent58110f0acb1a33e2bc60a2f1b26d2690a92e8a14
migration: pass MigrationIncomingState* into migration check functions

That tiny refactoring is necessary to be able to set
UFFD_FEATURE_THREAD_ID while requesting features, and then
to create downtime context in case when kernel supports it.

Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/postcopy-ram.c
migration/postcopy-ram.h
migration/savevm.c