Re: [PATCH REBASE 2/7] qemuBuildMemoryBackendProps: Respect //memoryBacking/allocation/@mode=immediate

2020-09-08 Thread Ján Tomko
On a Tuesday in 2020, Michal Privoznik wrote: If user specifies immediate memory allocation in the domain XML, they want QEMU to fully allocate its memory. And if the memory was allocated using plain '-m' then we would honour it. But, if a memory backend is used, then we don't set the prealloc at

[PATCH REBASE 2/7] qemuBuildMemoryBackendProps: Respect //memoryBacking/allocation/@mode=immediate

2020-09-01 Thread Michal Privoznik
If user specifies immediate memory allocation in the domain XML, they want QEMU to fully allocate its memory. And if the memory was allocated using plain '-m' then we would honour it. But, if a memory backend is used, then we don't set the prealloc attribute of the backend. Signed-off-by: Michal P