[libvirt PATCH] util: Do not report useless error in virPortAllocatorRelease

Pavel Hrdina phrdina at redhat.com
Wed May 18 08:38:38 UTC 2022


On Wed, May 18, 2022 at 10:08:23AM +0200, Jiri Denemark wrote:
> If the port allocator bitmap does not have enough bits to keep the state
> of the port we're going to release, the port is not reserved and thus is
> trivially released without doing anything. No need to report an error in
> such case.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/util/virportallocator.c | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220518/b64469e1/attachment.sig>


More information about the libvir-list mailing list