v1: Properly check the return value of virPortAllocatorAcquire
https://www.redhat.com/archives/libvir-list/2013-October/msg01239.html
v2: Moves the error reporting inside virPortAllocatorAcquire
https://www.redhat.com/archives/libvir-list/2013-October/msg01289.html
v3: Make the names translatable. Split out double-release of port
on error path when allocating SPICE TLS ports.
Ján Tomko (3):
Don't release spice port twice when no TLS port is available
Add a name to virPortAllocator
Return -1 in virPortAllocatorAcquire if all ports are used
src/libxl/libxl_conf.c | 5 -----
src/libxl/libxl_driver.c | 3 ++-
src/qemu/qemu_driver.c | 9 ++++++---
src/qemu/qemu_migration.c | 16 ++--------------
src/qemu/qemu_process.c | 12 ------------
src/util/virportallocator.c | 16 +++++++++++++---
src/util/virportallocator.h | 3 ++-
tests/virportallocatortest.c | 10 ++++------
8 files changed, 29 insertions(+), 45 deletions(-)
--
1.8.3.2