mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: virtiofs: format --rlimit-nofile
Resolves: https://gitlab.com/libvirt/libvirt/-/issues/485 Signed-off-by: Adam Julis <ajulis@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
562fc02ac1
commit
ea6c3ea2d5
@ -194,6 +194,9 @@ qemuVirtioFSBuildCommandLine(virQEMUDriverConfig *cfg,
|
||||
if (fs->thread_pool_size >= 0)
|
||||
virCommandAddArgFormat(cmd, "--thread-pool-size=%i", fs->thread_pool_size);
|
||||
|
||||
if (fs->rlimit_nofile > 0)
|
||||
virCommandAddArgFormat(cmd, "--rlimit-nofile=%llu", fs->rlimit_nofile);
|
||||
|
||||
if (cfg->virtiofsdDebug) {
|
||||
if (virBitmapIsBitSet(fs->caps, QEMU_VHOST_USER_FS_FEATURE_SEPARATE_OPTIONS))
|
||||
virCommandAddArgList(cmd, "--log-level", "debug", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user