[PATCH v2 02/13] qemu_process: Deduplicate code in qemuProcessNeedHugepagesPath()

2021-02-18 Thread Michal Privoznik
The aim of qemuProcessNeedHugepagesPath() is to return whether guest needs private path inside HugeTLBFS mounts (deducted from domain definition @def) or whether the memory device that user is hotplugging in needs the private path (deducted from the @mem argument). The actual creation of the path

[PATCH v2 02/13] qemu_process: Deduplicate code in qemuProcessNeedHugepagesPath()

2021-02-09 Thread Michal Privoznik
The aim of qemuProcessNeedHugepagesPath() is to return whether guest needs private path inside HugeTLBFS mounts (deducted from domain definition @def) or whether the memory device that user is hotplugging in needs the private path (deducted from the @mem argument). The actual creation of the path