[libvirt] [PATCH v2 0/3] improve detection of UNIX path generated by libvirt

Pavel Hrdina posted 3 patches 145 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1494593677.git.phrdina@redhat.com
src/libvirt_private.syms                           |  2 +
src/qemu/qemu_domain.c                             | 51 ++++++++++++++++++----
src/util/virbuffer.c                               | 19 ++++++++
src/util/virbuffer.h                               |  3 ++
src/util/virstring.c                               | 33 ++++++++++++++
src/util/virstring.h                               |  3 ++
.../qemuxml2argv-channel-unix-gen-path1.xml        | 17 ++++++++
.../qemuxml2argv-channel-unix-gen-path2.xml        | 17 ++++++++
.../qemuxml2argv-channel-unix-gen-path3.xml        | 17 ++++++++
.../qemuxml2argv-channel-unix-user-path.xml        | 17 ++++++++
.../qemuxml2xmlout-channel-unix-gen-path1.xml      | 32 ++++++++++++++
.../qemuxml2xmlout-channel-unix-gen-path2.xml      | 32 ++++++++++++++
.../qemuxml2xmlout-channel-unix-gen-path3.xml      | 32 ++++++++++++++
.../qemuxml2xmlout-channel-unix-user-path.xml      | 33 ++++++++++++++
tests/qemuxml2xmltest.c                            |  5 +++
tests/virbuftest.c                                 | 40 +++++++++++++++++
tests/virstringtest.c                              | 47 ++++++++++++++++++++
17 files changed, 391 insertions(+), 9 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-unix-gen-path1.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-unix-gen-path2.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-unix-gen-path3.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-unix-user-path.xml
create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-unix-gen-path1.xml
create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-unix-gen-path2.xml
create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-unix-gen-path3.xml
create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-unix-user-path.xml

[libvirt] [PATCH v2 0/3] improve detection of UNIX path generated by libvirt

Posted by Pavel Hrdina 145 weeks ago
Pavel Hrdina (3):
  util: introduce virStringMatch
  util: introduce virBufferEscapeRegex
  qemu: improve detection of UNIX path generated by libvirt

 src/libvirt_private.syms                           |  2 +
 src/qemu/qemu_domain.c                             | 51 ++++++++++++++++++----
 src/util/virbuffer.c                               | 19 ++++++++
 src/util/virbuffer.h                               |  3 ++
 src/util/virstring.c                               | 33 ++++++++++++++
 src/util/virstring.h                               |  3 ++
 .../qemuxml2argv-channel-unix-gen-path1.xml        | 17 ++++++++
 .../qemuxml2argv-channel-unix-gen-path2.xml        | 17 ++++++++
 .../qemuxml2argv-channel-unix-gen-path3.xml        | 17 ++++++++
 .../qemuxml2argv-channel-unix-user-path.xml        | 17 ++++++++
 .../qemuxml2xmlout-channel-unix-gen-path1.xml      | 32 ++++++++++++++
 .../qemuxml2xmlout-channel-unix-gen-path2.xml      | 32 ++++++++++++++
 .../qemuxml2xmlout-channel-unix-gen-path3.xml      | 32 ++++++++++++++
 .../qemuxml2xmlout-channel-unix-user-path.xml      | 33 ++++++++++++++
 tests/qemuxml2xmltest.c                            |  5 +++
 tests/virbuftest.c                                 | 40 +++++++++++++++++
 tests/virstringtest.c                              | 47 ++++++++++++++++++++
 17 files changed, 391 insertions(+), 9 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-unix-gen-path1.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-unix-gen-path2.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-unix-gen-path3.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-unix-user-path.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-unix-gen-path1.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-unix-gen-path2.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-unix-gen-path3.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-channel-unix-user-path.xml

-- 
2.13.0

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