Re: [libvirt] [PATCH 5/5] qemuBuildMemoryBackendProps: Get pagesize early

2019-04-02 Thread Michal Privoznik
On 4/2/19 2:57 PM, Ján Tomko wrote: On Mon, Apr 01, 2019 at 04:04:37PM +0200, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1693066 Up until memfd introduction (in 24b74d187ca) we did not need to know @pagesize because qemuGetDomainHupageMemPath() could deal with it being

Re: [libvirt] [PATCH 5/5] qemuBuildMemoryBackendProps: Get pagesize early

2019-04-02 Thread Ján Tomko
On Mon, Apr 01, 2019 at 04:04:37PM +0200, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1693066 Up until memfd introduction (in 24b74d187ca) we did not need to know @pagesize because qemuGetDomainHupageMemPath() could deal with it being zero (value of zero means use the

[libvirt] [PATCH 5/5] qemuBuildMemoryBackendProps: Get pagesize early

2019-04-01 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1693066 Up until memfd introduction (in 24b74d187ca) we did not need to know @pagesize because qemuGetDomainHupageMemPath() could deal with it being zero (value of zero means use the default hugetlbfs mount). But since for memfd we are not passing a