diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2011-09-26 10:16:51 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2011-09-26 12:17:57 +0300 |
commit | f29dc9b6201f4a575ebb1f2ea61775ab46f4ad1f (patch) | |
tree | 24d4bfa2a384e8efe5f4c4bb41840c47a6e94fcc /python_modules/codegen.py | |
parent | 524fcb3aa460b200ed038fbbab9cecf5c736cde2 (diff) | |
download | spice-f29dc9b6201f4a575ebb1f2ea61775ab46f4ad1f.tar.gz spice-f29dc9b6201f4a575ebb1f2ea61775ab46f4ad1f.tar.xz spice-f29dc9b6201f4a575ebb1f2ea61775ab46f4ad1f.zip |
server: fix not calling migrate_connect completion callback
When the server is a migration target and spice_server_migrate_connect
is called before SPICE_MSGC_MIGRATE_END has been received, we start
the mig_timer. We handle the migrate_connect only when receiving SPICE_MSGC_MIGRATE_END.
If the mig_timer expires before that, we dismiss the request, and should call the
migrate_connect completion callback. Since reds->mig_inprogress
wasn't set appropriately, it wasn't called.
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions