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

Martin Kletzander mkletzan at redhat.com
Thu Nov 14 13:12:06 UTC 2013


On Wed, Nov 13, 2013 at 06:01:40PM +0100, Ján Tomko wrote:
> 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
> 

ACK,

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131114/baf48c12/attachment-0001.sig>


More information about the libvir-list mailing list