On 07/18/2018 12:48 AM, [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]> > Reviewed-by: Stefan Hajnoczi <[email protected]> > Reviewed-by: Igor Mammedov <[email protected]> > --- > 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 <[email protected]> r~
