Re: [libvirt] [PATCH 2/5] qemu: simplify graphics port releasing

2018-07-18 Thread Nikolay Shirokovskiy
On 17.07.2018 23:15, John Ferlan wrote: > > > On 07/04/2018 07:03 AM, Nikolay Shirokovskiy wrote: >> Originally port allocator have 2 functions to release ports: one >> for for manually reserved ports and one for autoallocated ports. Thus >> a bit complicated code of port releasing. Now we hav

Re: [libvirt] [PATCH 2/5] qemu: simplify graphics port releasing

2018-07-17 Thread John Ferlan
On 07/04/2018 07:03 AM, Nikolay Shirokovskiy wrote: > Originally port allocator have 2 functions to release ports: one > for for manually reserved ports and one for autoallocated ports. Thus > a bit complicated code of port releasing. Now we have only one releasing > function. But there's a rea

[libvirt] [PATCH 2/5] qemu: simplify graphics port releasing

2018-07-04 Thread Nikolay Shirokovskiy
Originally port allocator have 2 functions to release ports: one for for manually reserved ports and one for autoallocated ports. Thus a bit complicated code of port releasing. Now we have only one releasing function. Let's use *reserved flag whenever we manually/automatically allocate port so tha