On Fri, Jun 01, 2018 at 04:10:27PM +0800, 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>
> ---
>  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 <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to