virtiofsd: set maximum RLIMIT_NOFILE limit
commit01a6dc95ec7f71eeff9963fe3cb03d85225fba3e
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 22 Mar 2019 15:54:13 +0000 (22 15:54 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:37 +0000 (23 16:41 +0000)
treebf06c08f79ec92a612156e4d7e0acfa08b3bc021
parentee88465224b3aed2596049caa28f86cbe0d5a3d0
virtiofsd: set maximum RLIMIT_NOFILE limit

virtiofsd can exceed the default open file descriptor limit easily on
most systems.  Take advantage of the fact that it runs as root to raise
the limit.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/passthrough_ll.c