mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-21 10:50:24 +03:00
qemuSetupCgroupForVcpu: s/virProcessInfoSetAffinity/virProcessSetAffinity/
In the f56c773bf we've made the substitution but forgot to fix one comment which is still referring to the old name. This may be potentially misleading. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
344582a8a7
commit
4dae1eddde
@ -904,8 +904,7 @@ qemuSetupCgroupForVcpu(virDomainObjPtr vm)
|
||||
}
|
||||
|
||||
/* We are trying to setup cgroups for CPU pinning, which can also be done
|
||||
* with virProcessInfoSetAffinity, thus the lack of cgroups is not fatal
|
||||
* here.
|
||||
* with virProcessSetAffinity, thus the lack of cgroups is not fatal here.
|
||||
*/
|
||||
if (priv->cgroup == NULL)
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user