diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-23 13:28:21 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-01-24 15:13:54 +0100 |
commit | e866e23959b45325414ac84a21f31dea79867ee6 (patch) | |
tree | d6d618e0fdb5933be9a8d74d65e1ca9839119384 /ui/qemu-spice.h | |
parent | 99a0db9b8dd72ea20a2d4cd99fe91b08903ae857 (diff) |
spice/vnc: client migration.
Handle spice client migration, i.e. inform a spice client connected
about the new host and connection parameters, so it can move over the
connection automatically.
The monitor command has a not-yet used protocol argument simliar to
set_password and expire_password commands. This allows to add a simliar
feature to vnc in the future. Daniel Berrange plans to work on this.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/qemu-spice.h')
-rw-r--r-- | ui/qemu-spice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qemu-spice.h b/ui/qemu-spice.h index 48239c3dbd..05dc50a69d 100644 --- a/ui/qemu-spice.h +++ b/ui/qemu-spice.h @@ -35,6 +35,8 @@ int qemu_spice_add_interface(SpiceBaseInstance *sin); int qemu_spice_set_passwd(const char *passwd, bool fail_if_connected, bool disconnect_if_connected); int qemu_spice_set_pw_expire(time_t expires); +int qemu_spice_migrate_info(const char *hostname, int port, int tls_port, + const char *subject); void do_info_spice_print(Monitor *mon, const QObject *data); void do_info_spice(Monitor *mon, QObject **ret_data); @@ -44,6 +46,8 @@ void do_info_spice(Monitor *mon, QObject **ret_data); #define using_spice 0 #define qemu_spice_set_passwd(_p, _f1, _f2) (-1) #define qemu_spice_set_pw_expire(_e) (-1) +static inline int qemu_spice_migrate_info(const char *h, int p, int t, const char *s) +{ return -1; } #endif /* CONFIG_SPICE */ |