On 07/18/2018 12:48 AM, junyan...@gmx.com wrote: > From: Junyan He <junyan...@intel.com> > > Guest writes to vNVDIMM labels are intercepted and performed on the > backend by QEMU. When the backend is a real persistent memort, QEMU > needs to take proper operations to ensure its write persistence on the > persistent memory. Otherwise, a host power failure may result in the > loss of guest label configurations. > > Signed-off-by: Haozhong Zhang <haozhong.zh...@intel.com> > Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> > Reviewed-by: Igor Mammedov <imamm...@redhat.com> > --- > hw/mem/nvdimm.c | 9 ++++++++- > include/qemu/pmem.h | 30 ++++++++++++++++++++++++++++++ > 2 files changed, 38 insertions(+), 1 deletion(-) > create mode 100644 include/qemu/pmem.h
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~