diff options
author | Peter Xu <peterx@redhat.com> | 2018-05-02 18:47:21 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2018-05-15 20:24:27 +0200 |
commit | 14b1742eaaad1148c5b421eea0ae7e74d823e630 (patch) | |
tree | 8e6225ee45763dea821118423a847042c6f22cec /migration/migration.h | |
parent | b411b844fb2e038c6ba92fd50fed3213a27c6445 (diff) | |
download | qemu-14b1742eaaad1148c5b421eea0ae7e74d823e630.zip |
migration: allow src return path to pause
Let the thread pause for network issues.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180502104740.12123-6-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration.h')
-rw-r--r-- | migration/migration.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |