Re: [PATCH] qemu: Don't use memory-backend-memfd for NVDIMMs

2021-07-07 Thread Daniel Henrique Barboza
On 6/22/21 4:11 AM, Michal Privoznik wrote: If guest is configured to use memfd then the function that build memory-backend-* part of command line will put memory-backend-memfd, always. Even for NVDIMMs. This is not correct, because NVDIMMs need a backing path (usually to a real host NVDIMM

[PATCH] qemu: Don't use memory-backend-memfd for NVDIMMs

2021-06-22 Thread Michal Privoznik
If guest is configured to use memfd then the function that build memory-backend-* part of command line will put memory-backend-memfd, always. Even for NVDIMMs. This is not correct, because NVDIMMs need a backing path (usually to a real host NVDIMM device). Therefore, regardless of memfd being