Re: [PATCH 1/2] qemu: Separate out hugepages basedir making

2022-10-14 Thread Erik Skultety
On Wed, Oct 12, 2022 at 12:37:58PM +0200, Michal Privoznik wrote: > During its initialization, the QEMU driver iterates over > hugetlbfs mount points, creating the driver specific path in each > of them ($prefix/libvirt/qemu). This path is created with very > wide mode (0777) because per-domain dir

[PATCH 1/2] qemu: Separate out hugepages basedir making

2022-10-12 Thread Michal Privoznik
During its initialization, the QEMU driver iterates over hugetlbfs mount points, creating the driver specific path in each of them ($prefix/libvirt/qemu). This path is created with very wide mode (0777) because per-domain directories are then created under it. Separate this code into a function so