[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V6 3/7] hostmem-file: add the 'pmem' option
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH V6 3/7] hostmem-file: add the 'pmem' option |
Date: |
Tue, 5 Jun 2018 12:44:18 +0100 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
On Fri, Jun 01, 2018 at 04:10:25PM +0800, address@hidden wrote:
> From: Junyan He <address@hidden>
>
> 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 specify whether the backend
> storage of memory-backend-file is a real persistent memory. If
> 'pmem=on', QEMU will set the flag RAM_PMEM in the RAM block of the
> corresponding memory region.
>
> Signed-off-by: Junyan He <address@hidden>
> Signed-off-by: Haozhong Zhang <address@hidden>
> ---
> backends/hostmem-file.c | 27 ++++++++++++++++++++++++++-
> docs/nvdimm.txt | 14 ++++++++++++++
> exec.c | 9 +++++++++
> include/exec/memory.h | 6 ++++++
> include/exec/ram_addr.h | 3 +++
> qemu-options.hx | 7 +++++++
> 6 files changed, 65 insertions(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH V6 0/7] nvdimm: guarantee persistence of QEMU writes to persistent memory, junyan . he, 2018/06/01
- [Qemu-devel] [PATCH V6 1/7] memory, exec: Expose all memory block related flags., junyan . he, 2018/06/01
- [Qemu-devel] [PATCH V6 2/7] memory, exec: switch file ram allocation functions to 'flags' parameters, junyan . he, 2018/06/01
- [Qemu-devel] [PATCH V6 3/7] hostmem-file: add the 'pmem' option, junyan . he, 2018/06/01
- [Qemu-devel] [PATCH V6 4/7] configure: add libpmem support, junyan . he, 2018/06/01
- [Qemu-devel] [PATCH V6 5/7] mem/nvdimm: ensure write persistence to PMEM in label emulation, junyan . he, 2018/06/01
- [Qemu-devel] [PATCH V6 6/7] migration/ram: Add check and info message to nvdimm post copy., junyan . he, 2018/06/01
- [Qemu-devel] [PATCH V6 7/7] migration/ram: ensure write persistence on loading all data to PMEM., junyan . he, 2018/06/01