Re: [Qemu-devel] [PATCH 4/7 V10] hostmem-file: add the 'pmem' option

2018-07-17 Thread Richard Henderson
On 07/16/2018 11:32 PM, junyan...@gmx.com wrote: > @@ -34,6 +35,7 @@ struct HostMemoryBackendFile { > bool discard_data; > char *mem_path; > uint64_t align; > +bool is_pmem; > }; Sort all the bool's to the end? > +/* Just support these ram flags by now. */ > +

[Qemu-devel] [PATCH 4/7 V10] hostmem-file: add the 'pmem' option

2018-07-17 Thread junyan . he
From: Junyan He When QEMU emulates vNVDIMM labels and migrates vNVDIMM devices, it needs to know whether the backend storage is a real persistent memory, in order to decide whether special operations should be performed to ensure the data persistence. This boolean option 'pmem' allows users to