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

[libvirt] [PATCH v2 00/10] qemu: Get rid of QEMU_CAPS_ADD_FD (and improve block-commit probing)



Diff to v1:
- stopped probing for active block-commit support when we can use QMP
schema
- qemuxml2argvmock's implementation of virCommandPassFD now passes
through specific file descriptors and ignores the rest.

Peter Krempa (10):
  qemu: qapi: Simplify value handling in virQEMUQAPISchemaTraverse
  qemu: qapi: Split up virQEMUQAPISchemaObjectGetType
  qemu: qapi: Allow selecting specifically optional schema entries in
    virQEMUQAPISchemaTraverse
  qemu: capabilities: Detect active block commit via QMP schema probing
    if possible
  FIXUP: regenerate ordering in replies files
  tests: qemuxml2argvmock: Allow 'safe' file descriptors in mocked
    virCommandPassFD
  qemu: command: Extract opening of TPM backend FDs for mocking purposes
  tests: qemuxml2argv: modernize TPM passthrough tests
  qemu: capabilities: Always assume QEMU_CAPS_ADD_FD
  FIXUP: regenerate ordering in replies files

 src/qemu/qemu_capabilities.c                       |  25 +--
 src/qemu/qemu_capabilities.h                       |   2 +-
 src/qemu/qemu_command.c                            |  69 ++++---
 src/qemu/qemu_command.h                            |   7 +
 src/qemu/qemu_qapi.c                               |  84 ++++++--
 .../qemucapabilitiesdata/caps_1.5.3.x86_64.replies | 169 +++++++---------
 tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_1.6.0.x86_64.replies | 169 +++++++---------
 tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_1.7.0.x86_64.replies | 169 +++++++---------
 tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_2.1.1.x86_64.replies | 169 +++++++---------
 tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml   |   3 +-
 .../caps_2.10.0.aarch64.replies                    | 181 +++++++----------
 tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml |   3 +-
 .../qemucapabilitiesdata/caps_2.10.0.ppc64.replies | 181 +++++++----------
 tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_2.10.0.s390x.replies | 181 +++++++----------
 tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml   |   3 +-
 .../caps_2.10.0.x86_64.replies                     | 213 +++++++++----------
 tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml  |   3 +-
 .../qemucapabilitiesdata/caps_2.11.0.s390x.replies | 185 +++++++----------
 tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml   |   3 +-
 .../caps_2.11.0.x86_64.replies                     | 213 +++++++++----------
 tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml  |   3 +-
 .../caps_2.12.0.aarch64.replies                    | 189 +++++++----------
 tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml |   3 +-
 .../qemucapabilitiesdata/caps_2.12.0.ppc64.replies | 189 +++++++----------
 tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_2.12.0.s390x.replies | 193 ++++++++----------
 tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml   |   3 +-
 .../caps_2.12.0.x86_64.replies                     | 225 +++++++++------------
 tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml  |   3 +-
 .../qemucapabilitiesdata/caps_2.4.0.x86_64.replies | 181 ++++++++---------
 tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_2.5.0.x86_64.replies | 197 ++++++++----------
 tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml   |   3 +-
 .../caps_2.6.0.aarch64.replies                     | 181 +++++++----------
 tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml  |   3 +-
 .../qemucapabilitiesdata/caps_2.6.0.ppc64.replies  | 181 +++++++----------
 tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml    |   3 +-
 .../qemucapabilitiesdata/caps_2.6.0.x86_64.replies | 197 ++++++++----------
 tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_2.7.0.s390x.replies  | 173 +++++++---------
 tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml    |   3 +-
 .../qemucapabilitiesdata/caps_2.7.0.x86_64.replies | 197 ++++++++----------
 tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_2.8.0.s390x.replies  | 181 +++++++----------
 tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml    |   3 +-
 .../qemucapabilitiesdata/caps_2.8.0.x86_64.replies | 197 ++++++++----------
 tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_2.9.0.ppc64.replies  | 181 +++++++----------
 tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml    |   3 +-
 .../qemucapabilitiesdata/caps_2.9.0.s390x.replies  | 181 +++++++----------
 tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml    |   3 +-
 .../qemucapabilitiesdata/caps_2.9.0.x86_64.replies | 213 +++++++++----------
 tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml   |   3 +-
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.replies  | 189 +++++++----------
 tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml    |   3 +-
 .../qemucapabilitiesdata/caps_3.0.0.x86_64.replies | 225 +++++++++------------
 tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml   |   3 +-
 tests/qemuxml2argvdata/tpm-passthrough-crb.args    |   5 +-
 tests/qemuxml2argvdata/tpm-passthrough.args        |   5 +-
 tests/qemuxml2argvmock.c                           |  38 +++-
 64 files changed, 2415 insertions(+), 3204 deletions(-)

-- 
2.16.2


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