diff options
author | Junyan He | 2018-07-18 09:48:01 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2018-08-10 12:29:39 +0200 |
commit | faf8a13d80de98b43342a7ec9878b4fd76b18327 (patch) | |
tree | 8e7b986e39302a19d659b628649a38901b6d1612 /hw/vfio/common.c | |
parent | hostmem-file: add the 'pmem' option (diff) | |
download | qemu-faf8a13d80de98b43342a7ec9878b4fd76b18327.tar.gz qemu-faf8a13d80de98b43342a7ec9878b4fd76b18327.tar.xz qemu-faf8a13d80de98b43342a7ec9878b4fd76b18327.zip |
mem/nvdimm: ensure write persistence to PMEM in label emulation
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.zhang@intel.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/vfio/common.c')
0 files changed, 0 insertions, 0 deletions