On Fri, Jun 01, 2018 at 04:10:27PM +0800, [email protected] wrote: > From: Junyan He <[email protected]> > > 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 <[email protected]> > --- > hw/mem/nvdimm.c | 9 ++++++++- > include/qemu/pmem.h | 23 +++++++++++++++++++++++ > stubs/Makefile.objs | 1 + > stubs/pmem.c | 19 +++++++++++++++++++ > 4 files changed, 51 insertions(+), 1 deletion(-) > create mode 100644 include/qemu/pmem.h > create mode 100644 stubs/pmem.c
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
