OSDN Git Service

migration: fix ram_save_pending
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 10 Jul 2017 16:30:15 +0000 (19:30 +0300)
committerJuan Quintela <quintela@redhat.com>
Fri, 22 Sep 2017 12:11:26 +0000 (14:11 +0200)
commit86e1167e9ad3a34ab00ed412fc67e1d02ec0ca7b
tree4cc4e3b88bce72ea568746c53a914ddbf42b44b7
parentc6467627369b2518ea3cf466da6cd39da7e3a85a
migration: fix ram_save_pending

Fill postcopy-able pending only if ram postcopy is enabled.
It is necessary because of there will be other postcopy-able states and
when ram postcopy is disabled, it should not spoil common postcopy
related pending.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c