[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC QEMU PATCH v2 00/10] Implement vNVDIMM for Xen HVM guest



This is the QEMU patch of v2 RFC patch series to enable vNVDIMM
support for Xen HVM guest. v1 can be found at
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg01678.html.

The corresponding Xen patch series is sent in another thread
"[RFC XEN PATCH v2 00/15] Add vNVDIMM support to HVM domains".

All patch series can be found at
  Xen:  https://github.com/hzzhan9/xen.git nvdimm-rfc-v2
  Qemu: https://github.com/hzzhan9/qemu.git xen-nvdimm-rfc-v2


Patch 1 is to avoid dereferencing the NULL pointer to non-existing
label data, as the Xen side support for labels is not implemented yet.

Patch 2 - 7 build and cooy NFIT from QEMU to Xen guest, when QEMU is
used as the Xen device model.

Patch 8 & 9 add a memory backend dedicated for Xen usage and a hotplug
memory region for Xen guest, in order to make the existing nvdimm
device plugging path work on Xen.

Patch 10 extends the the existing qmp command "query-memory-device" to
return information of NVDIMM devices required by Xen.

Haozhong Zhang (10):
  01/10 nvdimm xen: disable label support on Xen
  02/10 xen-hvm: initialize DM ACPI
  03/10 xen-hvm: support copying ACPI to guest memory
  04/10 nvdimm acpi: do not use fw_cfg on Xen
  05/10 nvdimm acpi: copy NFIT to Xen guest
  06/10 nvdimm acpi: build and copy NVDIMM namespace devices to guest on Xen
  07/10 xen-hvm: enable building DM ACPI on i386 machine
  08/10 hostmem: add a host memory backend for Xen
  09/10 xen-hvm: create hotplug memory region on Xen
  10/10 qapi: extend 'query-memory-devices' to list devices of specified type

 backends/Makefile.objs   |   1 +
 backends/hostmem-xen.c   | 121 ++++++++++++++++++++++++++++
 backends/hostmem.c       |   8 ++
 hmp.c                    |   3 +-
 hw/acpi/aml-build.c      |   9 ++-
 hw/acpi/nvdimm.c         |  67 +++++++++++-----
 hw/i386/pc.c             |  98 ++++++++++++-----------
 hw/mem/nvdimm.c          |  44 ++++++++++-
 hw/mem/pc-dimm.c         |  76 +++++++++++-------
 include/hw/i386/pc.h     |   1 +
 include/hw/mem/nvdimm.h  |   2 +
 include/hw/mem/pc-dimm.h |   1 +
 include/hw/xen/xen.h     |  20 +++++
 qapi-schema.json         |  48 ++++++++++-
 qmp.c                    |  13 ++-
 xen-hvm-stub.c           |  10 +++
 xen-hvm.c                | 202 +++++++++++++++++++++++++++++++++++++++++++++++
 17 files changed, 620 insertions(+), 104 deletions(-)
 create mode 100644 backends/hostmem-xen.c

-- 
2.12.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.