Re: [Qemu-devel] [PATCH 1/2] nvdimm: warn if the backend is not a DAX device

2017-05-30 Thread Haozhong Zhang
On 05/30/17 10:15 +0100, Stefan Hajnoczi wrote: > On Fri, May 26, 2017 at 10:24:37AM +0800, Haozhong Zhang wrote: > > Applications in Linux guest that use device-dax never trigger flush > > that can be trapped by KVM/QEMU. Meanwhile, if the host backend is not > > device-dax, QEMU cannot guarantee

Re: [Qemu-devel] [PATCH 1/2] nvdimm: warn if the backend is not a DAX device

2017-05-30 Thread Stefan Hajnoczi
On Fri, May 26, 2017 at 10:24:37AM +0800, Haozhong Zhang wrote: > Applications in Linux guest that use device-dax never trigger flush > that can be trapped by KVM/QEMU. Meanwhile, if the host backend is not > device-dax, QEMU cannot guarantee the persistence of guest writes. > Before solving this f

[Qemu-devel] [PATCH 1/2] nvdimm: warn if the backend is not a DAX device

2017-05-25 Thread Haozhong Zhang
Applications in Linux guest that use device-dax never trigger flush that can be trapped by KVM/QEMU. Meanwhile, if the host backend is not device-dax, QEMU cannot guarantee the persistence of guest writes. Before solving this flushing problem, QEMU should warn users if the host backend is not devic