]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
qemu: fix regression with spice tls port allocation
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 27 Aug 2012 07:41:36 +0000 (09:41 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 27 Aug 2012 08:20:53 +0000 (10:20 +0200)
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.

src/qemu/qemu_process.c

index abe6e748fdc5376de35fbad85ab9f659976bf95f..7f85aea80eecbf547a39969bdd6803efb9d309e5 100644 (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;
             }
         }