[RFC PATCH v3 0/9] Add optional pSeries features

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

 



Applies cleanly on top of 6722a32444db6335f2104e67d873199c76e5701e.

Some of the patches are fairly big because of all the capabilities
data being added and the subsequent test suite churn: I'm sending
a redacted version to the list, the rest of the code can be grabbed
from

  https://github.com/andreabolognani/libvirt/tree/pseries-caps

RFC because the relevant QMP command has not been merged into QEMU
yet. And there's still no documentation.

Changes from [RFC v2]:

* use qom-list-properties to probe availability;

* test all features with a single XML file.

Changes from [RFC v1]:

* don't nest features inside a <pseries/> element;

* implement all optional features.

[RFC v2] https://www.redhat.com/archives/libvir-list/2018-February/msg00310.html
[RFC v1] https://www.redhat.com/archives/libvir-list/2018-January/msg00779.html

Andrea Bolognani (9):
  tests: Add capabilities data for QEMU 2.12
  qemu: Add capability for qom-list-properties
  qemu: Prefer qom-list-properties to device-list-properties
  qemu: Add capabilities for optional pSeries features
  tests: Rename pseries-features-hpt test
  qemu: Implement the HTM pSeries feature
  qemu: Implement the SBBC pSeries feature
  qemu: Implement the CFPC pSeries feature
  qemu: Implement the IBS pSeries feature

 docs/schemas/domaincommon.rng                      |   30 +
 src/conf/domain_conf.c                             |   74 +
 src/conf/domain_conf.h                             |   15 +
 src/libvirt_private.syms                           |    2 +
 src/qemu/qemu_capabilities.c                       |   30 +-
 src/qemu/qemu_capabilities.h                       |    7 +
 src/qemu/qemu_command.c                            |  165 +
 src/qemu/qemu_domain.c                             |   28 +
 src/qemu/qemu_monitor.c                            |    5 +-
 src/qemu/qemu_monitor.h                            |    1 +
 src/qemu/qemu_monitor_json.c                       |   13 +-
 src/qemu/qemu_monitor_json.h                       |    3 +-
 .../qemucapabilitiesdata/caps_1.2.2.x86_64.replies |   20 +-
 tests/qemucapabilitiesdata/caps_1.2.2.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_1.3.1.x86_64.replies |   20 +-
 tests/qemucapabilitiesdata/caps_1.3.1.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_1.4.2.x86_64.replies |   20 +-
 tests/qemucapabilitiesdata/caps_1.4.2.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_1.5.3.x86_64.replies |   20 +-
 tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_1.6.0.x86_64.replies |   20 +-
 tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_1.7.0.x86_64.replies |   20 +-
 tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_2.1.1.x86_64.replies |   20 +-
 tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml   |    2 +-
 .../caps_2.10.0-gicv2.aarch64.replies              |   24 +-
 .../caps_2.10.0-gicv2.aarch64.xml                  |    2 +-
 .../caps_2.10.0-gicv3.aarch64.replies              |   24 +-
 .../caps_2.10.0-gicv3.aarch64.xml                  |    2 +-
 .../qemucapabilitiesdata/caps_2.10.0.ppc64.replies |   22 +-
 tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_2.10.0.s390x.replies |   26 +-
 tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml   |    2 +-
 .../caps_2.10.0.x86_64.replies                     |   30 +-
 tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml  |    2 +-
 ...4.replies => caps_2.12.0-gicv2.aarch64.replies} | 3257 ++++++----
 ...2.aarch64.xml => caps_2.12.0-gicv2.aarch64.xml} |   24 +-
 ...4.replies => caps_2.12.0-gicv3.aarch64.replies} | 3261 ++++++----
 ...3.aarch64.xml => caps_2.12.0-gicv3.aarch64.xml} |   24 +-
 ...0.0.ppc64.replies => caps_2.12.0.ppc64.replies} | 6211 +++++++++++---------
 ...caps_2.10.0.ppc64.xml => caps_2.12.0.ppc64.xml} |  991 ++--
 ...0.x86_64.replies => caps_2.12.0.x86_64.replies} | 5393 ++++++++++-------
 ...ps_2.10.0.x86_64.xml => caps_2.12.0.x86_64.xml} |  455 +-
 .../qemucapabilitiesdata/caps_2.4.0.x86_64.replies |   20 +-
 tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_2.5.0.x86_64.replies |   22 +-
 tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml   |    2 +-
 .../caps_2.6.0-gicv2.aarch64.replies               |   24 +-
 .../caps_2.6.0-gicv2.aarch64.xml                   |    2 +-
 .../caps_2.6.0-gicv3.aarch64.replies               |   24 +-
 .../caps_2.6.0-gicv3.aarch64.xml                   |    2 +-
 .../qemucapabilitiesdata/caps_2.6.0.ppc64.replies  |   22 +-
 tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml    |    2 +-
 .../qemucapabilitiesdata/caps_2.6.0.x86_64.replies |   22 +-
 tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_2.7.0.s390x.replies  |   22 +-
 tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml    |    2 +-
 .../qemucapabilitiesdata/caps_2.7.0.x86_64.replies |   22 +-
 tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_2.8.0.s390x.replies  |   26 +-
 tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml    |    2 +-
 .../qemucapabilitiesdata/caps_2.8.0.x86_64.replies |   22 +-
 tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml   |    2 +-
 .../qemucapabilitiesdata/caps_2.9.0.ppc64.replies  |   22 +-
 tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml    |    2 +-
 .../qemucapabilitiesdata/caps_2.9.0.s390x.replies  |   26 +-
 tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml    |    2 +-
 .../qemucapabilitiesdata/caps_2.9.0.x86_64.replies |   30 +-
 tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml   |    2 +-
 tests/qemucapabilitiestest.c                       |    4 +
 .../pseries-features-invalid-machine.xml           |    4 +
 ...ies-features-hpt.args => pseries-features.args} |    3 +-
 ...eries-features-hpt.xml => pseries-features.xml} |    4 +
 tests/qemuxml2argvtest.c                           |    8 +-
 tests/qemuxml2xmloutdata/pseries-features-hpt.xml  |    1 -
 tests/qemuxml2xmloutdata/pseries-features.xml      |    1 +
 tests/qemuxml2xmltest.c                            |    6 +-
 78 files changed, 12668 insertions(+), 7972 deletions(-)
 copy tests/qemucapabilitiesdata/{caps_2.10.0-gicv2.aarch64.replies => caps_2.12.0-gicv2.aarch64.replies} (93%)
 copy tests/qemucapabilitiesdata/{caps_2.10.0-gicv2.aarch64.xml => caps_2.12.0-gicv2.aarch64.xml} (95%)
 copy tests/qemucapabilitiesdata/{caps_2.10.0-gicv2.aarch64.replies => caps_2.12.0-gicv3.aarch64.replies} (93%)
 copy tests/qemucapabilitiesdata/{caps_2.10.0-gicv3.aarch64.xml => caps_2.12.0-gicv3.aarch64.xml} (95%)
 copy tests/qemucapabilitiesdata/{caps_2.10.0.ppc64.replies => caps_2.12.0.ppc64.replies} (87%)
 copy tests/qemucapabilitiesdata/{caps_2.10.0.ppc64.xml => caps_2.12.0.ppc64.xml} (54%)
 copy tests/qemucapabilitiesdata/{caps_2.10.0.x86_64.replies => caps_2.12.0.x86_64.replies} (90%)
 copy tests/qemucapabilitiesdata/{caps_2.10.0.x86_64.xml => caps_2.12.0.x86_64.xml} (83%)
 rename tests/qemuxml2argvdata/{pseries-features-hpt.args => pseries-features.args} (78%)
 rename tests/qemuxml2argvdata/{pseries-features-hpt.xml => pseries-features.xml} (88%)
 delete mode 120000 tests/qemuxml2xmloutdata/pseries-features-hpt.xml
 create mode 120000 tests/qemuxml2xmloutdata/pseries-features.xml

-- 
2.14.3

--
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