On Mon, Jan 11, 2021 at 03:33:32PM -0500, Igor Mammedov wrote:
It is not safe to pretend that emulated NVDIMM supports
persistence while backend actually failed to enable it
and used non-persistent mapping as fall back.
Instead of falling-back, QEMU should be more strict and
error out with clear message that it's not supported.
So if user asks for persistence (pmem=on), they should
store backing file on NVDIMM.
Signed-off-by: Igor Mammedov <imammedo(a)redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd(a)redhat.com>
I'm queueing this for 6.1, after changing "since 6.0" to "since
6.1".
Sorry for letting it fall through the cracks.
--
Eduardo