diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2011-09-18 22:50:50 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2011-11-02 11:30:26 +0200 |
commit | 0a5e9cbbcf9a3ebc6c7e3ccd3e7026998d2488d9 (patch) | |
tree | 149c6e1d52a953e512ab15cfb99e8f26f81dd70f /client/red_client.h | |
parent | c73d5c10e677b8ab67101545bb17eb46afd1e251 (diff) | |
download | spice-0a5e9cbbcf9a3ebc6c7e3ccd3e7026998d2488d9.tar.gz spice-0a5e9cbbcf9a3ebc6c7e3ccd3e7026998d2488d9.tar.xz spice-0a5e9cbbcf9a3ebc6c7e3ccd3e7026998d2488d9.zip |
client: main channel migration: do partial cleanup when switching hosts
Implement on_disconnect_mig_src and on_connect_mig_target in order to avoid
unnecessary cleanups done in on_(disconnet|connect).
In addition, do not request guest display settings changes after migration.
(cherry picked from commit f91d202eb3bf631cf5e70277d1aabffec7da9393 branch 0.8)
Diffstat (limited to 'client/red_client.h')
-rw-r--r-- | client/red_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/red_client.h b/client/red_client.h index 7b3e5076..20d5ffb7 100644 --- a/client/red_client.h +++ b/client/red_client.h @@ -279,6 +279,8 @@ protected: virtual void on_connecting(); virtual void on_connect(); virtual void on_disconnect(); + virtual void on_connect_mig_target() {} + virtual void on_disconnect_mig_src(); private: void on_channel_disconnected(RedChannel& channel); |