rpc: virnetserver: Add code to CheckLimits to handle suspending of services
rpc: virnetserver: Add code to CheckLimits to handle suspending of services

So far, virNetServerCheckLimits was only used to possibly re-enable accepting
new clients that might have previously been disabled due to client limits
violation (max_clients, max_anonymous_clients). This patch refactors
virNetServerAddClient, which is currently the only place where the services get
disabled, in order to use the virNetServerCheckLimits helper instead of
checking the limits by itself.

Signed-off-by: Erik Skultety <2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com>

eskultety/libvirt,eskultety/libvirt,crobinso/libvirt,datto/libvirt,taget/libvirt,zippy2/libvirt,jardasgit/libvirt,andreabolognani/libvirt,datto/libvirt,eskultety/libvirt,zippy2/libvirt,nertpinx/libvirt,andreabolognani/libvirt,nertpinx/libvirt,crobinso/libvirt,jardasgit/libvirt,crobinso/libvirt,libvirt/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,taget/libvirt,taget/libvirt,zippy2/libvirt,libvirt/libvirt,jfehlig/libvirt,olafhering/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,datto/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,olafhering/libvirt,jardasgit/libvirt,jfehlig/libvirt,olafhering/libvirt,libvirt/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,jardasgit/libvirt,eskultety/libvirt,datto/libvirt,nertpinx/libvirt,zippy2/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,datto/libvirt,nertpinx/libvirt,taget/libvirt,jardasgit/libvirt,taget/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,crobinso/libvirt,olafhering/libvirt,libvirt/libvirt,eskultety/libvirt