[libvirt] [PATCH 0/6] Some disk auth/encryption cleanups

John Ferlan posted 6 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20170914180310.1426-1-jferlan@redhat.com
docs/formatdomain.html.in                          |   6 -
src/conf/domain_conf.c                             | 126 ++++++++++-----------
...drive-network-iscsi-auth-secrettype-invalid.xml |  33 ++++++
...k-drive-network-iscsi-auth-wrong-secrettype.xml |  33 ++++++
.../qemuxml2argv-disk-source-pool-mode.args        |   3 +
.../qemuxml2argv-disk-source-pool-mode.xml         |  13 +++
.../qemuxml2argv-luks-disk-invalid.xml             |  37 ++++++
tests/qemuxml2argvtest.c                           |   3 +
.../qemuxml2xmlout-disk-source-pool-mode.xml       |  13 +++
9 files changed, 198 insertions(+), 69 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi-auth-secrettype-invalid.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi-auth-wrong-secrettype.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-luks-disk-invalid.xml
[libvirt] [PATCH 0/6] Some disk auth/encryption cleanups
Posted by John Ferlan 6 years, 7 months ago
Perform some cleanups with the auth and encryption processing.

This is a precursor to some other changes that will move/create
disk <source> level <auth> and <encryption> elements since they
are already in the _virStorageSource.

I'm still working on the latter, but before there's too many patches.

John Ferlan (6):
  docs: Remove unnecessary <auth> example for iscsi disk type='volume'
  conf: Add invalid secrettype checks
  conf: Move <disk> authdef validation
  conf: Add invalid domain disk encryption test
  conf: Move <disk> encryption validation
  conf: Use virXMLFormatElement to format disk source network

 docs/formatdomain.html.in                          |   6 -
 src/conf/domain_conf.c                             | 126 ++++++++++-----------
 ...drive-network-iscsi-auth-secrettype-invalid.xml |  33 ++++++
 ...k-drive-network-iscsi-auth-wrong-secrettype.xml |  33 ++++++
 .../qemuxml2argv-disk-source-pool-mode.args        |   3 +
 .../qemuxml2argv-disk-source-pool-mode.xml         |  13 +++
 .../qemuxml2argv-luks-disk-invalid.xml             |  37 ++++++
 tests/qemuxml2argvtest.c                           |   3 +
 .../qemuxml2xmlout-disk-source-pool-mode.xml       |  13 +++
 9 files changed, 198 insertions(+), 69 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi-auth-secrettype-invalid.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi-auth-wrong-secrettype.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-luks-disk-invalid.xml

-- 
2.13.5

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