Re: [PATCH 2/2] qemu: Create base hugepages path on memory hotplug

2022-10-14 Thread Erik Skultety
On Wed, Oct 12, 2022 at 12:37:59PM +0200, Michal Privoznik wrote: > Users can play all sorts of games with mount points. For > instance, they can unmount and mount back a hugetlbfs and only > after that attempt to hotplug memory. > > This has an unfortunate consequence though. During memory > hotp

[PATCH 2/2] qemu: Create base hugepages path on memory hotplug

2022-10-12 Thread Michal Privoznik
Users can play all sorts of games with mount points. For instance, they can unmount and mount back a hugetlbfs and only after that attempt to hotplug memory. This has an unfortunate consequence though. During memory hotplug, when qemuProcessBuildDestroyMemoryPaths() is called the path is created w