[PATCH 0/6] qemu: Add support for 'write-cache' disk frontend argument (blockdev-add saga)

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

 



'write-cache' is one of the booleans the 'cache' attribute of -drive
translates to. Since we are getting rid of -drive this needs to be
implemented in a different way.

Peter Krempa (6):
  tests: utils: Allow parsing test capability file without virCaps
  tests: qemuxm2argv: Add infrastructure for testing with real qemuCaps
  qemu: domain: Add helper for translating disk cachemode to qemu flags
  qemu: caps: Add capability for 'write-cache' parameter of disk
    frontends
  qemu: Format 'write-cache' parameter for disk frontends
  tests: qemuxml2argv: Test formatting of 'write-cache' parameter

 src/qemu/qemu_capabilities.c                       |  5 ++
 src/qemu/qemu_capabilities.h                       |  1 +
 src/qemu/qemu_command.c                            | 27 ++++++++
 src/qemu/qemu_domain.c                             | 75 ++++++++++++++++++++++
 src/qemu/qemu_domain.h                             |  6 ++
 tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml |  1 +
 tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml  |  1 +
 tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml |  1 +
 tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml  |  1 +
 tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml    |  1 +
 tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml    |  1 +
 tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml   |  1 +
 tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml    |  1 +
 tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml    |  1 +
 tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml   |  1 +
 tests/qemuxml2argvdata/disk-drive-write-cache.args | 45 +++++++++++++
 tests/qemuxml2argvdata/disk-drive-write-cache.xml  | 45 +++++++++++++
 tests/qemuxml2argvtest.c                           | 32 +++++++++
 tests/testutilsqemu.c                              | 21 ++++--
 tests/testutilsqemu.h                              |  3 +
 26 files changed, 270 insertions(+), 6 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/disk-drive-write-cache.args
 create mode 100644 tests/qemuxml2argvdata/disk-drive-write-cache.xml

-- 
2.16.2

--
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]

  Powered by Linux