[PATCH v4 00/11] update NVDIMM support

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

 



Hi libvirt experts,

There are some gaps between qemu and libvirt, libvirt has not
supported several config options about NVDIMM memory while
qemu has now, including 'align', 'pmem', 'unarmed'.

So these three options is introduced in this patch set.

Regards,
Luyao Zhong

Luyao Zhong (11):
  nvdimm: introduce 'alignsize' element into xml for NVDIMM memory
  nvdimm: introduce 'pmem' element into xml for NVDIMM memory
  nvdimm: introduce 'unarmed' element into xml for NVDIMM memory
  qemu_capabilities: introduce QEMU_CAPS_OBJECT_MEMORY_FILE_ALIGN
  qemu_capabilities: introduce QEMU_CAPS_OBJECT_MEMORY_FILE_PMEM
  qemu_capabilities: introduce QEMU_CAPS_DEVICE_NVDIMM_UNARMED
  nvdimm: use DO_TEST_CAPS_LATEST to do nvdimm qemuxml2argvdata test
  nvdimm: qemu command-line generating for align property
  nvdimm: qemu command-line generating for pmem property
  nvdimm: qemu command-line generating for unarmed property
  nvdimm: update news.xml

 docs/formatdomain.html.in                          |  80 +++++++++++++---
 docs/news.xml                                      |   9 ++
 docs/schemas/domaincommon.rng                      |  23 ++++-
 src/conf/domain_conf.c                             |  57 ++++++++++--
 src/conf/domain_conf.h                             |   3 +
 src/qemu/qemu_capabilities.c                       |  16 +++-
 src/qemu/qemu_capabilities.h                       |   5 +
 src/qemu/qemu_command.c                            |  44 ++++++++-
 src/qemu/qemu_command.h                            |   3 +-
 src/qemu/qemu_hotplug.c                            |   2 +-
 .../caps_2.10.0.x86_64.replies                     |  62 ++++++++-----
 tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml  |   2 +-
 .../caps_2.11.0.x86_64.replies                     |  62 ++++++++-----
 tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml  |   2 +-
 tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml |   1 +
 tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml   |   1 +
 .../caps_2.12.0.x86_64.replies                     |  78 ++++++++++------
 tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml  |   3 +-
 .../qemucapabilitiesdata/caps_2.6.0.x86_64.replies |  46 ++++++---
 tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml   |   2 +-
 .../qemucapabilitiesdata/caps_2.7.0.x86_64.replies |  46 ++++++---
 tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml   |   2 +-
 .../qemucapabilitiesdata/caps_2.8.0.x86_64.replies |  46 ++++++---
 tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml   |   2 +-
 .../qemucapabilitiesdata/caps_2.9.0.x86_64.replies |  62 ++++++++-----
 tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml   |   2 +-
 tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml    |   1 +
 tests/qemucapabilitiesdata/caps_3.0.0.riscv32.xml  |   1 +
 tests/qemucapabilitiesdata/caps_3.0.0.riscv64.xml  |   1 +
 tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml    |   1 +
 .../qemucapabilitiesdata/caps_3.0.0.x86_64.replies | 103 +++++++++++++++------
 tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml   |   4 +-
 tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml    |   2 +
 .../qemucapabilitiesdata/caps_3.1.0.x86_64.replies | 102 ++++++++++++++------
 tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml   |   5 +-
 .../memory-hotplug-nvdimm-access.args              |  31 -------
 ...memory-hotplug-nvdimm-access.x86_64-latest.args |  36 +++++++
 .../memory-hotplug-nvdimm-align.x86_64-latest.args |  36 +++++++
 .../memory-hotplug-nvdimm-align.xml                |  58 ++++++++++++
 .../memory-hotplug-nvdimm-label.args               |  31 -------
 .../memory-hotplug-nvdimm-label.x86_64-latest.args |  36 +++++++
 .../memory-hotplug-nvdimm-pmem.x86_64-latest.args  |  36 +++++++
 .../memory-hotplug-nvdimm-pmem.xml                 |  58 ++++++++++++
 ...emory-hotplug-nvdimm-unarmed.x86_64-latest.args |  36 +++++++
 .../memory-hotplug-nvdimm-unarmed.xml              |  58 ++++++++++++
 tests/qemuxml2argvdata/memory-hotplug-nvdimm.args  |  31 -------
 .../memory-hotplug-nvdimm.x86_64-latest.args       |  36 +++++++
 tests/qemuxml2argvtest.c                           |  15 ++-
 .../memory-hotplug-nvdimm-align.xml                |   1 +
 .../memory-hotplug-nvdimm-pmem.xml                 |   1 +
 .../memory-hotplug-nvdimm-unarmed.xml              |   1 +
 tests/qemuxml2xmltest.c                            |   3 +
 53 files changed, 1047 insertions(+), 339 deletions(-)
 delete mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-access.args
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-access.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-align.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-align.xml
 delete mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-label.args
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-label.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-pmem.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-pmem.xml
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-unarmed.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-unarmed.xml
 delete mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm.args
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm.x86_64-latest.args
 create mode 120000 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-align.xml
 create mode 120000 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-pmem.xml
 create mode 120000 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-unarmed.xml

-- 
2.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux