]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virtportallocator: new function "virPortAllocatorSetUsed"
authorGiuseppe Scrivano <gscrivan@redhat.com>
Tue, 24 Jun 2014 11:34:17 +0000 (13:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 24 Jun 2014 12:17:55 +0000 (14:17 +0200)
commit1d8d2fbcd09b26541db580f456e6a873869b0abe
tree79121f128010ed31ceeb2d019f6fe0b269ece247
parent59cac9a91885c885a358547a1304645266e3b1b7
virtportallocator: new function "virPortAllocatorSetUsed"

virPortAllocatorSetUsed permits to set a port as already used and
prevent the port allocator to use it without any attempt to bind it.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/util/virportallocator.c
src/util/virportallocator.h