[libvirt] [PATCH v2 00/29] conf: refactor virStorageSource parsing and formatting (blockdev-add saga)

Peter Krempa posted 29 patches 12 weeks ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1553277561.git.pkrempa@redhat.com
docs/schemas/domaincommon.rng                 |   1 +
src/conf/domain_conf.c                        | 345 ++++++-------
src/conf/domain_conf.h                        |  19 +-
src/conf/snapshot_conf.c                      |   4 +-
src/libvirt_private.syms                      |   3 +-
src/qemu/qemu_domain.c                        |  82 +--
tests/qemublocktest.c                         |   4 +-
.../blockjob-mirror-in.xml                    |  13 +
.../migration-out-nbd-tls-in.xml              |  27 +-
.../migration-out-nbd-tls-out.xml             | 488 +++++++++++++++++-
.../qemuxml2argvdata/disk-backing-chains.xml  |   6 +-
tests/qemuxml2argvdata/disk-mirror.xml        |   8 +-
.../disk-backing-chains-active.xml            |   6 +-
.../disk-backing-chains-inactive.xml          |   6 +-
.../qemuxml2xmloutdata/disk-mirror-active.xml |   8 +-
tests/qemuxml2xmltest.c                       |   3 +-
tests/virstoragetest.c                        |   2 +-
17 files changed, 769 insertions(+), 256 deletions(-)
mode change 120000 => 100644 tests/qemustatusxml2xmldata/migration-out-nbd-tls-out.xml

[libvirt] [PATCH v2 00/29] conf: refactor virStorageSource parsing and formatting (blockdev-add saga)

Posted by Peter Krempa 12 weeks ago
Most patches were changed too substantially to warrant keeping the Rb's.

Peter Krempa (29):
  conf: Format seclabels for <backingStore>
  conf: Remove @seclabels from virDomainStorageSourceFormat
  conf: Merge virDomainDiskSourceFormatInternal into
    virDomainDiskSourceFormat
  conf: Export virDomainDiskSourceFormat
  tests: qemuxml2xml: Use virdeterministichashmock.so
  tests: qemustatusxml2xml: Add another disk to migration-out-nbd-tls
    case
  tests: qemustatusxml2xml: Add separate output for
    migration-out-nbd-tls
  qemu: domain: Modify <migrationSource> to look like <disk>
  conf: Unexport virDomainStorageSourceFormat
  conf: Simplify control flow in virDomainDiskSourceFormat
  conf: Avoid temporary variable in virDomainDiskBackingStoreFormat
  conf: Use virXMLFormatElement in virDomainDiskBackingStoreFormat
  conf: Merge virDomainStorageSourceFormat into
    virDomainDiskSourceFormat
  conf: Document virDomainDiskSourceFormat
  conf: Replace virDomainDiskSourceParse by virDomainStorageSourceParse
  conf: introduce virDomainStorageSourceParseBase
  conf: Use virDomainStorageSourceParseBase in
    virDomainDiskBackingStoreParse
  conf: Document virDomainStorageSourceParse
  conf: Modify arguments passed to virDomainDiskBackingStoreFormat
  conf: Allow convenient lookup of <source> in
    virDomainStorageSourceParse
  qemu: Use VIR_AUTOFREE in qemuDomainObjPrivateXMLParseJobNBDSource
  qemu: Remove cleanup in qemuDomainObjPrivateXMLParseJobNBDSource
  qemu: Use virDomainStorageSourceParseBase in
    qemuDomainObjPrivateXMLParseJobNBDSource
  qemu: Parse NBD storage source private data by
    virDomainStorageSourceParse
  conf: use virXMLFormatElement in virDomainDiskDefFormatMirror
  conf: Pass 'flags' to virDomainDiskSourceFormat in
    virDomainDiskDefFormatMirror
  conf: Refactor virDomainDiskDefMirrorParse
  conf: Parse and format 'backingStore' for disk <mirror>
  conf: Add 'index' attribute for <disk><mirror><source>

 docs/schemas/domaincommon.rng                 |   1 +
 src/conf/domain_conf.c                        | 345 ++++++-------
 src/conf/domain_conf.h                        |  19 +-
 src/conf/snapshot_conf.c                      |   4 +-
 src/libvirt_private.syms                      |   3 +-
 src/qemu/qemu_domain.c                        |  82 +--
 tests/qemublocktest.c                         |   4 +-
 .../blockjob-mirror-in.xml                    |  13 +
 .../migration-out-nbd-tls-in.xml              |  27 +-
 .../migration-out-nbd-tls-out.xml             | 488 +++++++++++++++++-
 .../qemuxml2argvdata/disk-backing-chains.xml  |   6 +-
 tests/qemuxml2argvdata/disk-mirror.xml        |   8 +-
 .../disk-backing-chains-active.xml            |   6 +-
 .../disk-backing-chains-inactive.xml          |   6 +-
 .../qemuxml2xmloutdata/disk-mirror-active.xml |   8 +-
 tests/qemuxml2xmltest.c                       |   3 +-
 tests/virstoragetest.c                        |   2 +-
 17 files changed, 769 insertions(+), 256 deletions(-)
 mode change 120000 => 100644 tests/qemustatusxml2xmldata/migration-out-nbd-tls-out.xml

-- 
2.20.1

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