mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: Make some minor tweaks
Doing this now will make the next changes nicer. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
6a6d6bb520
commit
9bf5c00f9b
@ -7009,10 +7009,13 @@ qemuProcessLaunch(virConnectPtr conn,
|
||||
goto cleanup;
|
||||
|
||||
virCommandSetPreExecHook(cmd, qemuProcessHook, &hookData);
|
||||
virCommandSetUmask(cmd, 0x002);
|
||||
|
||||
VIR_DEBUG("Setting up process limits");
|
||||
|
||||
virCommandSetMaxProcesses(cmd, cfg->maxProcesses);
|
||||
virCommandSetMaxFiles(cmd, cfg->maxFiles);
|
||||
virCommandSetMaxCoreSize(cmd, cfg->maxCore);
|
||||
virCommandSetUmask(cmd, 0x002);
|
||||
|
||||
VIR_DEBUG("Setting up security labelling");
|
||||
if (qemuSecuritySetChildProcessLabel(driver->securityManager,
|
||||
|
Loading…
Reference in New Issue
Block a user