[PATCH v2 0/6] qemu: Support iSCSI iSER

Han Han posted 6 patches 1 week ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200515034606.5810-1-hhan@redhat.com
docs/formatdomain.html.in                     |  5 +++
docs/news.xml                                 | 10 +++++
docs/schemas/domaincommon.rng                 |  5 +++
src/conf/domain_conf.c                        | 10 +++++
src/qemu/qemu_block.c                         | 11 ++++-
src/qemu/qemu_capabilities.c                  |  4 ++
src/qemu/qemu_capabilities.h                  |  3 ++
src/qemu/qemu_command.c                       |  3 ++
src/qemu/qemu_domain.c                        |  9 ++++
src/util/virstoragefile.c                     | 17 +++++--
src/util/virstoragefile.h                     |  2 +
.../caps_2.10.0.aarch64.xml                   |  1 +
.../caps_2.10.0.ppc64.xml                     |  1 +
.../caps_2.10.0.s390x.xml                     |  1 +
.../caps_2.10.0.x86_64.xml                    |  1 +
.../caps_2.11.0.s390x.xml                     |  1 +
.../caps_2.11.0.x86_64.xml                    |  1 +
.../caps_2.12.0.aarch64.xml                   |  1 +
.../caps_2.12.0.ppc64.xml                     |  1 +
.../caps_2.12.0.s390x.xml                     |  1 +
.../caps_2.12.0.x86_64.xml                    |  1 +
.../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |  1 +
.../qemucapabilitiesdata/caps_2.9.0.s390x.xml |  1 +
.../caps_2.9.0.x86_64.xml                     |  1 +
.../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |  1 +
.../caps_3.0.0.riscv32.xml                    |  1 +
.../caps_3.0.0.riscv64.xml                    |  1 +
.../qemucapabilitiesdata/caps_3.0.0.s390x.xml |  1 +
.../caps_3.0.0.x86_64.xml                     |  1 +
.../qemucapabilitiesdata/caps_3.1.0.ppc64.xml |  1 +
.../caps_3.1.0.x86_64.xml                     |  1 +
.../caps_4.0.0.aarch64.xml                    |  1 +
.../qemucapabilitiesdata/caps_4.0.0.ppc64.xml |  1 +
.../caps_4.0.0.riscv32.xml                    |  1 +
.../caps_4.0.0.riscv64.xml                    |  1 +
.../qemucapabilitiesdata/caps_4.0.0.s390x.xml |  1 +
.../caps_4.0.0.x86_64.xml                     |  1 +
.../caps_4.1.0.x86_64.xml                     |  1 +
.../caps_4.2.0.aarch64.xml                    |  1 +
.../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  1 +
.../qemucapabilitiesdata/caps_4.2.0.s390x.xml |  1 +
.../caps_4.2.0.x86_64.xml                     |  1 +
.../caps_5.0.0.aarch64.xml                    |  1 +
.../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1 +
.../caps_5.0.0.riscv64.xml                    |  1 +
.../caps_5.0.0.x86_64.xml                     |  1 +
.../caps_5.1.0.x86_64.xml                     |  1 +
.../qemuxml2argvdata/disk-network-iscsi.args  |  8 +++-
.../disk-network-iscsi.x86_64-2.12.0.args     |  7 ++-
.../disk-network-iscsi.x86_64-latest.args     | 45 +++++++++++--------
tests/qemuxml2argvdata/disk-network-iscsi.xml |  9 ++++
tests/qemuxml2argvtest.c                      |  5 ++-
.../qemuxml2xmloutdata/disk-network-iscsi.xml | 10 +++++
tests/qemuxml2xmltest.c                       |  4 +-
tests/virstoragetest.c                        | 16 +++++++
55 files changed, 190 insertions(+), 29 deletions(-)

[PATCH v2 0/6] qemu: Support iSCSI iSER

Posted by Han Han 1 week ago
The iSER[1](iSCSI Extensions for RDMA) transport is introduced since QEMU
2.9 [2]. It is only valid in iscsi network disk. Note that for the
legacy uri of iscsi iser transport, it will start with 'iser' instead of
'iscsi'.

Diff from v1: Use iser element of the source to enable iSER instead of
the transport attribute.

[1]: https://tools.ietf.org/html/rfc5046#section-1.7
[2]:
https://github.com/qemu/qemu/blob/ee573f5326046223b6eef4ae7fbfec31d274e093/qapi/block-core.json#L3507

git repo: https://gitlab.com/hhan2/libvirt/-/commits/iser-v2
v1: https://www.redhat.com/archives/libvir-list/2020-April/msg01247.html

Han Han (6):
  qemu_capabilities: Introduce iSCSI iSER flag
  conf: Parse the iser element
  qemu: Implement the iSCSI iSER
  docs: Support iSCSI iser
  tests: unit tests for iSCSI iSER
  news: Support iSCSI iSER

 docs/formatdomain.html.in                     |  5 +++
 docs/news.xml                                 | 10 +++++
 docs/schemas/domaincommon.rng                 |  5 +++
 src/conf/domain_conf.c                        | 10 +++++
 src/qemu/qemu_block.c                         | 11 ++++-
 src/qemu/qemu_capabilities.c                  |  4 ++
 src/qemu/qemu_capabilities.h                  |  3 ++
 src/qemu/qemu_command.c                       |  3 ++
 src/qemu/qemu_domain.c                        |  9 ++++
 src/util/virstoragefile.c                     | 17 +++++--
 src/util/virstoragefile.h                     |  2 +
 .../caps_2.10.0.aarch64.xml                   |  1 +
 .../caps_2.10.0.ppc64.xml                     |  1 +
 .../caps_2.10.0.s390x.xml                     |  1 +
 .../caps_2.10.0.x86_64.xml                    |  1 +
 .../caps_2.11.0.s390x.xml                     |  1 +
 .../caps_2.11.0.x86_64.xml                    |  1 +
 .../caps_2.12.0.aarch64.xml                   |  1 +
 .../caps_2.12.0.ppc64.xml                     |  1 +
 .../caps_2.12.0.s390x.xml                     |  1 +
 .../caps_2.12.0.x86_64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |  1 +
 .../qemucapabilitiesdata/caps_2.9.0.s390x.xml |  1 +
 .../caps_2.9.0.x86_64.xml                     |  1 +
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |  1 +
 .../caps_3.0.0.riscv32.xml                    |  1 +
 .../caps_3.0.0.riscv64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_3.0.0.s390x.xml |  1 +
 .../caps_3.0.0.x86_64.xml                     |  1 +
 .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml |  1 +
 .../caps_3.1.0.x86_64.xml                     |  1 +
 .../caps_4.0.0.aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml |  1 +
 .../caps_4.0.0.riscv32.xml                    |  1 +
 .../caps_4.0.0.riscv64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_4.0.0.s390x.xml |  1 +
 .../caps_4.0.0.x86_64.xml                     |  1 +
 .../caps_4.1.0.x86_64.xml                     |  1 +
 .../caps_4.2.0.aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  1 +
 .../qemucapabilitiesdata/caps_4.2.0.s390x.xml |  1 +
 .../caps_4.2.0.x86_64.xml                     |  1 +
 .../caps_5.0.0.aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1 +
 .../caps_5.0.0.riscv64.xml                    |  1 +
 .../caps_5.0.0.x86_64.xml                     |  1 +
 .../caps_5.1.0.x86_64.xml                     |  1 +
 .../qemuxml2argvdata/disk-network-iscsi.args  |  8 +++-
 .../disk-network-iscsi.x86_64-2.12.0.args     |  7 ++-
 .../disk-network-iscsi.x86_64-latest.args     | 45 +++++++++++--------
 tests/qemuxml2argvdata/disk-network-iscsi.xml |  9 ++++
 tests/qemuxml2argvtest.c                      |  5 ++-
 .../qemuxml2xmloutdata/disk-network-iscsi.xml | 10 +++++
 tests/qemuxml2xmltest.c                       |  4 +-
 tests/virstoragetest.c                        | 16 +++++++
 55 files changed, 190 insertions(+), 29 deletions(-)

-- 
2.25.0