[libvirt] [PATCH 3/6] port allocator: remove range check in release function

Michal Privoznik mprivozn at redhat.com
Mon Jan 29 06:09:44 UTC 2018


On 12/20/2017 07:35 AM, Nikolay Shirokovskiy wrote:
> Range check in virPortAllocatorSetUsed is not useful anymore
> when we manage ports for entire unsigned short range values.
> ---
>  src/bhyve/bhyve_process.c    |  3 +--
>  src/libxl/libxl_domain.c     |  3 +--
>  src/libxl/libxl_migration.c  |  4 ++--
>  src/qemu/qemu_migration.c    | 12 ++++++------
>  src/qemu/qemu_process.c      | 14 +++++---------
>  src/util/virportallocator.c  | 10 +---------
>  src/util/virportallocator.h  |  3 +--
>  tests/virportallocatortest.c | 23 +++++++++++------------
>  8 files changed, 28 insertions(+), 44 deletions(-)

Same comment as in previous patch.

Michal




More information about the libvir-list mailing list