From: Victor Toso <me@xxxxxxxxxxxxxx> Preparatory patch for adding support to change hostname. Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx> --- tests/migrate.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/migrate.py b/tests/migrate.py index 3ae9e053..742c9fab 100755 --- a/tests/migrate.py +++ b/tests/migrate.py @@ -199,9 +199,14 @@ class Migrator(object): if self.connected_client or wait_user_connect: wait_for_event(self.active.qmp, 'SPICE_INITIALIZED') - self.active.qmp.cmd('client_migrate_info', {'protocol':'spice', - 'hostname':'localhost', 'port':self.target.spice_port}) - self.active.qmp.cmd('migrate', {'uri': 'tcp:localhost:%s' % self.migration_port}) + self.active.qmp.cmd('client_migrate_info', { + 'protocol' : 'spice', + 'hostname' : 'localhost', + 'port' : self.target.spice_port + }) + self.active.qmp.cmd('migrate', { + 'uri': 'tcp:localhost:%s' % self.migration_port + }) wait_active(self.active.qmp, False) wait_active(self.target.qmp, True) -- 2.21.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel