mirror of https://gitee.com/openkylin/libvirt.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.
This commit is contained in:
parent
16ebec2b7c
commit
340196c46f
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue