Re: [libvirt] [PATCHv2] qemu: fix graphics port allocation

2013-02-28 Thread Ján Tomko
On 02/28/13 00:17, Eric Blake wrote: On 02/27/2013 04:51 AM, Ján Tomko wrote: Only release ports that have been allocated before. This fixes these issues: * trying to release ports when qemuProcessStart fails before port allocation * trying to release the SPICE TLS port if spice_tls is 0

[libvirt] [PATCHv2] qemu: fix graphics port allocation

2013-02-27 Thread Ján Tomko
Only release ports that have been allocated before. This fixes these issues: * trying to release ports when qemuProcessStart fails before port allocation * trying to release the SPICE TLS port if spice_tls is 0 * failing to release SPICE port with autoport=off (when only one of them is -1)

Re: [libvirt] [PATCHv2] qemu: fix graphics port allocation

2013-02-27 Thread Eric Blake
On 02/27/2013 04:51 AM, Ján Tomko wrote: Only release ports that have been allocated before. This fixes these issues: * trying to release ports when qemuProcessStart fails before port allocation * trying to release the SPICE TLS port if spice_tls is 0 * failing to release SPICE port with