Re: [PATCH v2] qemu: Don't prealloc mem for real NVDIMMs

2021-01-05 Thread Daniel P . Berrangé
On Tue, Jan 05, 2021 at 12:39:00PM +0100, Michal Privoznik wrote: > Currently, we configure QEMU to prealloc memory almost by > default. Well, by default for NVDIMMs, hugepages and if user > asked us to (via memoryBacking ). > > However, when guest's NVDIMM is backed by real life NVDIMM this >

Re: [PATCH v2] qemu: Don't prealloc mem for real NVDIMMs

2021-01-05 Thread Daniel Henrique Barboza
On 1/5/21 8:39 AM, Michal Privoznik wrote: Currently, we configure QEMU to prealloc memory almost by default. Well, by default for NVDIMMs, hugepages and if user asked us to (via memoryBacking ). However, when guest's NVDIMM is backed by real life NVDIMM this approach is not the best. In

[PATCH v2] qemu: Don't prealloc mem for real NVDIMMs

2021-01-05 Thread Michal Privoznik
Currently, we configure QEMU to prealloc memory almost by default. Well, by default for NVDIMMs, hugepages and if user asked us to (via memoryBacking ). However, when guest's NVDIMM is backed by real life NVDIMM this approach is not the best. In this case users should put into the device , like