From 14b1742eaaad1148c5b421eea0ae7e74d823e630 Mon Sep 17 00:00:00 2001 From: Peter Xu Date: Wed, 2 May 2018 18:47:21 +0800 Subject: migration: allow src return path to pause Let the thread pause for network issues. Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Peter Xu Message-Id: <20180502104740.12123-6-peterx@redhat.com> Signed-off-by: Juan Quintela --- migration/migration.h | 1 + 1 file changed, 1 insertion(+) (limited to 'migration/migration.h') diff --git a/migration/migration.h b/migration/migration.h index 0ccdcb8ffe..32fd50e9be 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -200,6 +200,7 @@ struct MigrationState /* Needed by postcopy-pause state */ QemuSemaphore postcopy_pause_sem; + QemuSemaphore postcopy_pause_rp_sem; }; void migrate_set_state(int *state, int old_state, int new_state); -- cgit v1.2.3-55-g7522