[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.12 v4 0/3] nvdimm: fixes for (non-)dax backend
From: |
Haozhong Zhang |
Subject: |
[Qemu-devel] [PATCH for-2.12 v4 0/3] nvdimm: fixes for (non-)dax backends |
Date: |
Mon, 11 Dec 2017 15:28:03 +0800 |
Previous versions can be found at
v3: https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg04785.html
v2: https://lists.gnu.org/archive/html/qemu-devel/2017-06/msg01203.html
v1: https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg05919.html
Changes in v4:
* Document new memory-backend-file option 'align' in qemu-options.hx. (Eduardo
Habkost)
* Add endian conversion when setting the unarmed flag in NFIT. (Stefan
Hajnoczi)
Changes in v3:
* Add an option 'align' to 'memory-backend-file' to address the
failure when mmap device dax (patch 1).
* Remove device dax check, which needs to access sysfs and may not
work with SELinux.
* Add a boolean option 'unarmed' to '-device nvdimm', which allows
users to control the unarmed flag in guest ACPI NFIT. I don't make
it as OnOffAuto, because of the remove of device dax check.
* Document new options added by this patch series.
Haozhong Zhang (3):
hostmem-file: add "align" option
nvdimm: add a macro for property "label-size"
nvdimm: add 'unarmed' option
backends/hostmem-file.c | 41 ++++++++++++++++++++++++++++++++++++++++-
docs/nvdimm.txt | 31 +++++++++++++++++++++++++++++++
exec.c | 8 +++++++-
hw/acpi/nvdimm.c | 7 +++++++
hw/mem/nvdimm.c | 28 +++++++++++++++++++++++++++-
include/exec/memory.h | 3 +++
include/hw/mem/nvdimm.h | 12 ++++++++++++
memory.c | 2 ++
numa.c | 2 +-
qemu-options.hx | 9 ++++++++-
10 files changed, 138 insertions(+), 5 deletions(-)
--
2.14.1
- [Qemu-devel] [PATCH for-2.12 v4 0/3] nvdimm: fixes for (non-)dax backends,
Haozhong Zhang <=
- [Qemu-devel] [PATCH v4 2/3] nvdimm: add a macro for property "label-size", Haozhong Zhang, 2017/12/11
- [Qemu-devel] [PATCH v4 1/3] hostmem-file: add "align" option, Haozhong Zhang, 2017/12/11
- [Qemu-devel] [PATCH v4 3/3] nvdimm: add 'unarmed' option, Haozhong Zhang, 2017/12/11
- Re: [Qemu-devel] [PATCH for-2.12 v4 0/3] nvdimm: fixes for (non-)dax backends, Stefan Hajnoczi, 2017/12/13
- Re: [Qemu-devel] [PATCH for-2.12 v4 0/3] nvdimm: fixes for (non-)dax backends, Michael S. Tsirkin, 2017/12/20