From: Martin Kletzander Date: Mon, 27 Aug 2012 07:41:36 +0000 (+0200) Subject: qemu: fix regression with spice tls port allocation X-Git-Tag: v0.10.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=340196c46fc8f4f266d16deb2c70a76d84368584;p=thirdparty%2Flibvirt.git 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. --- diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index abe6e748fd..7f85aea80e 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -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; } }