[libvirt] [PATCH v3 0/2] Add support for zero-write detection

Martin Kletzander mkletzan at redhat.com
Thu Apr 28 14:56:54 UTC 2016


v3:
 - I know Peter said he'll review it, but there are conflicts every
   once in a while, so rebased version will apply cleanly for a while
 - And it's actually not that big of a change to wait for some bigger
   things to be designed, I believe =)
 - https://www.redhat.com/archives/libvir-list/2016-April/msg01926.html

v2:
 - use 'zeroes' instead of 'zeros'
 - https://www.redhat.com/archives/libvir-list/2016-February/msg01146.html

v1:
 - https://www.redhat.com/archives/libvir-list/2015-December/msg00511.html

Martin Kletzander (2):
  conf: Add support of zero-detection for disks
  qemu: Add support for zero-detection writes

 docs/formatdomain.html.in                          | 10 +++++
 docs/schemas/domaincommon.rng                      | 12 ++++++
 src/conf/domain_conf.c                             | 21 +++++++++-
 src/conf/domain_conf.h                             | 11 ++++++
 src/libvirt_private.syms                           |  2 +
 src/qemu/qemu_capabilities.c                       |  2 +
 src/qemu/qemu_capabilities.h                       |  1 +
 src/qemu/qemu_command.c                            | 11 ++++++
 tests/qemucapabilitiesdata/caps_2.1.1-1.caps       |  1 +
 tests/qemucapabilitiesdata/caps_2.4.0-1.caps       |  1 +
 tests/qemucapabilitiesdata/caps_2.5.0-1.caps       |  1 +
 tests/qemucapabilitiesdata/caps_2.6.0-1.caps       |  1 +
 .../qemuxml2argv-disk-drive-detect-zeroes.args     | 27 +++++++++++++
 .../qemuxml2argv-disk-drive-detect-zeroes.xml      | 45 ++++++++++++++++++++++
 tests/qemuxml2argvtest.c                           |  3 ++
 .../qemuxml2xmlout-disk-drive-detect-zeroes.xml    |  1 +
 tests/qemuxml2xmltest.c                            |  1 +
 17 files changed, 149 insertions(+), 2 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-detect-zeroes.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-detect-zeroes.xml
 create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-drive-detect-zeroes.xml

--
2.8.1




More information about the libvir-list mailing list