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
Ján Tomko (2):
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.1.5