[PATCH v2 0/2] Report an error in virPortAllocatorAcquire if all ports are used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]