From: Haozhong Zhang <haozhong.zhang@intel.com>
To: qemu-devel@nongnu.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
Igor Mammedov <imammedo@redhat.com>,
Xiao Guangrong <guangrong.xiao@gmail.com>,
Stefan Hajnoczi <stefanha@gmail.com>,
Dan Williams <dan.j.williams@intel.com>,
Haozhong Zhang <haozhong.zhang@intel.com>
Subject: [Qemu-devel] [PATCH v2 0/4] nvdimm: fixes for (non-)dax backends
Date: Tue, 6 Jun 2017 15:22:25 +0800 [thread overview]
Message-ID: <20170606072229.9302-1-haozhong.zhang@intel.com> (raw)
This is v2 of patch series
https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg05919.html.
Changes in v2:
* Patch 2: use major/minor numbers of device and sysfs to check
whether a backend file refers to DAX device. (Dan & Stefan)
* Patch 3: set ACPI_NFIT_MEM_NOT_ARMED bit of state flags in guest
NVDIMM region mapping structure. This behavior is controlled by a
new QEMU nvdimm option "restrict". See details in patch 3. (Dan)
* Patch 4: drop the "align" property and get the alignment of DAX
device by QEMU itself.
* Wrap Linux specific code by __linux__. (Stefan)
Haozhong Zhang (4):
nvdimm: add a macro for property "label-size"
nvdimm: warn if the backend is not a DAX device
nvdimm: add a boolean option "restrict"
util/mmap-alloc: account for DAX device in qemu_fd_getpagesize
hw/acpi/nvdimm.c | 16 ++++++++++
hw/mem/nvdimm.c | 44 +++++++++++++++++++++++++-
include/hw/mem/nvdimm.h | 8 +++++
include/qemu/osdep.h | 19 +++++++++++
util/mmap-alloc.c | 6 ++++
util/osdep.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 176 insertions(+), 1 deletion(-)
--
2.11.0
next reply other threads:[~2017-06-06 7:22 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 7:22 Haozhong Zhang [this message]
2017-06-06 7:22 ` [Qemu-devel] [PATCH v2 1/4] nvdimm: add a macro for property "label-size" Haozhong Zhang
2017-06-07 15:29 ` Stefan Hajnoczi
2017-06-06 7:22 ` [Qemu-devel] [PATCH v2 2/4] nvdimm: warn if the backend is not a DAX device Haozhong Zhang
2017-06-06 17:59 ` Dan Williams
2017-06-08 1:07 ` Haozhong Zhang
2017-06-07 15:14 ` Stefan Hajnoczi
2017-06-08 1:07 ` Haozhong Zhang
2017-06-08 12:51 ` Michael S. Tsirkin
2017-06-12 3:18 ` Haozhong Zhang
2017-06-12 3:25 ` Michael S. Tsirkin
2017-06-06 7:22 ` [Qemu-devel] [PATCH v2 3/4] nvdimm: add a boolean option "restrict" Haozhong Zhang
2017-06-07 15:27 ` Stefan Hajnoczi
2017-06-08 1:45 ` Haozhong Zhang
2017-06-08 10:19 ` Stefan Hajnoczi
2017-06-08 6:39 ` Haozhong Zhang
2017-06-08 10:18 ` Stefan Hajnoczi
2017-06-08 12:56 ` Michael S. Tsirkin
2017-06-09 9:34 ` Stefan Hajnoczi
2017-06-12 1:18 ` Haozhong Zhang
2017-06-06 7:22 ` [Qemu-devel] [PATCH v2 4/4] util/mmap-alloc: account for DAX device in qemu_fd_getpagesize Haozhong Zhang
2017-06-07 15:29 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170606072229.9302-1-haozhong.zhang@intel.com \
--to=haozhong.zhang@intel.com \
--cc=dan.j.williams@intel.com \
--cc=guangrong.xiao@gmail.com \
--cc=imammedo@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).