[PATCH v2 0/2] Enable detection for zero writes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a second version with few things fixed.  The main difference
is that now this series uses zeroes instead of zeros.  The latter was
chosen at first just because there were more occurences in our
codebase, but the former is used now to minimise the confusion --
mainly when none of the versions were used when interfacing with the
user or mgmt app.

The naming is kept from the previous version despite the discussion as
I believe this is pretty general.  Also the default value is not
changed to 'off' in order for it to be general enough (some
hypervisors might choose a different default in the future).


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                             | 23 ++++++++++-
 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, 152 insertions(+), 1 deletion(-)
 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.7.1

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]