Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-13 Thread Eduardo Habkost
On Tue, Jun 12, 2018 at 01:38:08PM +, Junyan He wrote: > He have pmem_persist and pmem_memcpy_persist stub functions. > > If no libpmem and user really specify pmem=on, we just do nothing or just > memcpy. > > Real persistent memory always require libpmem support its load/save. > > If

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-13 Thread Igor Mammedov
e...@gmail.com; > crosthwaite.pe...@gmail.com; m...@redhat.com; qemu-devel@nongnu.org; > dgilb...@redhat.com; quint...@redhat.com; Junyan He; stefa...@redhat.com; > pbonz...@redhat.com; r...@twiddle.net; ehabk...@redhat.com > Subject: Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee p

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-12 Thread Junyan He
tefa...@redhat.com; pbonz...@redhat.com; r...@twiddle.net; ehabk...@redhat.com Subject: Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory According to my understand, the file node on real persistent memory do not need to be pmem=on pmem=on is a feature

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-12 Thread Junyan He
devel@nongnu.org; > dgilb...@redhat.com; quint...@redhat.com; Junyan He; stefa...@redhat.com; > pbonz...@redhat.com; r...@twiddle.net; ehabk...@redhat.com > Subject: Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of > QEMU writes to persistent memory > > On Fri, 1

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-12 Thread Igor Mammedov
redhat.com; quint...@redhat.com; Junyan He; stefa...@redhat.com; > pbonz...@redhat.com; r...@twiddle.net; ehabk...@redhat.com > Subject: Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of > QEMU writes to persistent memory > > On Fri, 1 Jun 2018 16:10:22 +0800 > junyan.

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-12 Thread Junyan He
...@gmail.com; crosthwaite.pe...@gmail.com; m...@redhat.com; qemu-devel@nongnu.org; dgilb...@redhat.com; quint...@redhat.com; Junyan He; stefa...@redhat.com; pbonz...@redhat.com; r...@twiddle.net; ehabk...@redhat.com Subject: Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-12 Thread Igor Mammedov
On Fri, 1 Jun 2018 16:10:22 +0800 junyan...@gmx.com wrote: > From: Junyan He > > QEMU writes to vNVDIMM backends in the vNVDIMM label emulation and > live migration. If the backend is on the persistent memory, QEMU needs > to take proper operations to ensure its writes persistent on the >

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-07 Thread Stefan Hajnoczi
On Fri, Jun 01, 2018 at 01:27:14AM -0700, no-re...@patchew.org wrote: > /tmp/qemu-test/src/stubs/pmem.c: In function 'pmem_persist': > /tmp/qemu-test/src/stubs/pmem.c:23:1: error: control reaches end of non-void > function [-Werror=return-type] > } > ^ > cc1: all warnings being treated as

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-01 Thread no-reply
Hi, This series failed build test on s390x host. Please find the details below. Type: series Message-id: 1527840629-18648-1-git-send-email-junyan...@gmx.com Subject: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory === TEST SCRIPT BEGIN === #!/bin

Re: [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-01 Thread no-reply
] nvdimm: guarantee persistence of QEMU writes to persistent memory === TEST SCRIPT BEGIN === #!/bin/bash set -e git submodule update --init dtc # Let docker tests dump environment info export SHOW_ENV=1 export J=8 time make docker-test-mingw@fedora === TEST SCRIPT END === Updating

[Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-06-01 Thread junyan . he
From: Junyan He QEMU writes to vNVDIMM backends in the vNVDIMM label emulation and live migration. If the backend is on the persistent memory, QEMU needs to take proper operations to ensure its writes persistent on the persistent memory. Otherwise, a host power failure may result in the loss the