mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: virtiofs: add rlimit_nofile element
Add an element to configure the rlimit nofile size: ... <binary> <rlimit_nofile size='122333'/> </binary> ... Non-positive values are forbidden in 'domaincommon.rng'. Added separate test file, created by modifying the 'vhost-user-fs-fd-memory.xml'. Signed-off-by: Adam Julis <ajulis@redhat.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
committed by
Michal Privoznik
parent
239669049d
commit
562fc02ac1
@@ -3734,6 +3734,10 @@ A directory on the host that can be accessed directly from the guest.
|
||||
The thread pool helps increase the number of requests in flight when used with
|
||||
storage that has a higher latency. However, it has an overhead, and so for
|
||||
fast, low latency filesystems, it may be best to turn it off. ( :since:`Since 8.5.0` )
|
||||
Element ``rlimit_profile`` accepts one attribute ``size`` which defines the
|
||||
maximum number of file descriptors. Non-positive values are forbidden.
|
||||
Although numbers greater than 1M are allowed, the virtiofsd documentation
|
||||
states that in this case its set by virtiofsd to the 1M. ( :since:`Since 10.6.0` )
|
||||
``source``
|
||||
The resource on the host that is being accessed in the guest. The ``name``
|
||||
attribute must be used with ``type='template'``, and the ``dir`` attribute
|
||||
|
||||
Reference in New Issue
Block a user