qemu: fix regression with spice tls port allocation

In my quest for reusing variables I failed to edit one variable when
fixing details between two patch versions. That results in a failure
to start qemu with autoport and spice tls, because qemu is trying to
bind two sockets to the same port.
This commit is contained in:
Martin Kletzander 2012-08-27 09:41:36 +02:00
parent 16ebec2b7c
commit 340196c46f
1 changed files with 1 additions and 1 deletions

View File

@ -3500,7 +3500,7 @@ int qemuProcessStart(virConnectPtr conn,
goto cleanup;
}
vm->def->graphics[0]->data.spice.tlsPort = port;
vm->def->graphics[0]->data.spice.tlsPort = tlsPort;
}
}