mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
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>
This commit is contained in:
@ -814,6 +814,23 @@ ETEXI
|
||||
.mhandler.cmd_new = do_snapshot_blkdev,
|
||||
},
|
||||
|
||||
STEXI
|
||||
@item client_migrate_info @var{protocol} @var{hostname} @var{port} @var{tls-port} @var{cert-subject}
|
||||
@findex client_migrate_info
|
||||
Set the spice/vnc connection info for the migration target. The spice/vnc
|
||||
server will ask the spice/vnc client to automatically reconnect using the
|
||||
new parameters (if specified) once the vm migration finished successfully.
|
||||
ETEXI
|
||||
|
||||
{
|
||||
.name = "client_migrate_info",
|
||||
.args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?",
|
||||
.params = "protocol hostname port tls-port cert-subject",
|
||||
.help = "send migration info to spice/vnc client",
|
||||
.user_print = monitor_user_noop,
|
||||
.mhandler.cmd_new = client_migrate_info,
|
||||
},
|
||||
|
||||
STEXI
|
||||
@item snapshot_blkdev
|
||||
@findex snapshot_blkdev
|
||||
|
Reference in New Issue
Block a user