[libvirt] [PATCH v2 0/4] add disk driver metadata_cache_size option

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Thu Nov 8 13:02:23 UTC 2018


1st docs patch may need tweaks if merged now (if -blockdev will not be
available in 4.10)

diff from v1 [1]
===============
- support only -blockdev configurations
- add 'default' value for the attribute
- set QEMU_CAPS_QCOW2_L2_CACHE_SIZE only for recent qemu versions (see 2nd patch)
- factor out API changes to distinct patch
- fix xml2argv test to blockdev configuration
- factor out xml2argv test to distinct patch as it is not yet passing
- other misc changes

[1] https://www.redhat.com/archives/libvir-list/2018-November/msg00016.html

Nikolay Shirokovskiy (4):
  xml: add disk driver metadata_cache_size option
  qemu: caps: add QEMU_CAPS_QCOW2_L2_CACHE_SIZE
  qemu: support metadata-cache-size for blockdev
  DO NOT APPLY: add xml2argv test for metadata_cache_size

 docs/formatdomain.html.in                          |  8 ++++
 docs/schemas/domaincommon.rng                      | 11 +++++
 src/conf/domain_conf.c                             | 17 ++++++++
 src/conf/domain_conf.h                             |  9 ++++
 src/qemu/qemu_block.c                              |  5 ++-
 src/qemu/qemu_capabilities.c                       |  5 +++
 src/qemu/qemu_capabilities.h                       |  1 +
 src/qemu/qemu_command.c                            | 23 +++++++++++
 src/qemu/qemu_domain.c                             |  2 +
 src/util/virstoragefile.c                          |  1 +
 src/util/virstoragefile.h                          |  1 +
 .../qemuxml2argvdata/disk-metadata_cache_size.args | 39 ++++++++++++++++++
 .../qemuxml2argvdata/disk-metadata_cache_size.xml  | 42 +++++++++++++++++++
 tests/qemuxml2argvtest.c                           |  2 +
 .../disk-metadata_cache_size.xml                   | 48 ++++++++++++++++++++++
 tests/qemuxml2xmltest.c                            |  2 +
 16 files changed, 215 insertions(+), 1 deletion(-)
 create mode 100644 tests/qemuxml2argvdata/disk-metadata_cache_size.args
 create mode 100644 tests/qemuxml2argvdata/disk-metadata_cache_size.xml
 create mode 100644 tests/qemuxml2xmloutdata/disk-metadata_cache_size.xml

-- 
1.8.3.1




More information about the libvir-list mailing list