[libvirt] [PATCHv3 1/3] Don't release spice port twice when no TLS port is available

Ján Tomko jtomko at redhat.com
Wed Nov 13 17:01:40 UTC 2013


Introduced by 7b4a630.
---
 src/qemu/qemu_process.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index e34f542..1365b59 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -3431,7 +3431,6 @@ qemuProcessSPICEAllocatePorts(virQEMUDriverPtr driver,
             if (tlsPort == 0) {
                 virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
                                _("Unable to find an unused port for SPICE TLS"));
-                virPortAllocatorRelease(driver->remotePorts, port);
                 goto error;
             }
             graphics->data.spice.tlsPort = tlsPort;
-- 
1.8.3.2




More information about the libvir-list mailing list