[PATCH 0/1] Add support for QEMU's 'fmode' and 'dmode'

Brian Turek brian.turek at gmail.com
Thu Oct 1 13:23:27 UTC 2020


This patch exposes QEMU's 9pfs's 'fmode' and 'dmode flags options. I
followed Ján Tomko's advice from his reply to my email to the mailing
list yesterday and heavily based this on the patches that added
'multidev' support.

The only part I am unsure of is whether modifying all of the 'caps'
files was necessary or if only a certain few needed changing.

Brian Turek (1):
  qemu: add support for 'fmode' and 'dmode'

 docs/formatdomain.rst                         | 12 ++++
 docs/schemas/domaincommon.rng                 | 16 +++++
 src/conf/domain_conf.c                        | 43 +++++++++++++
 src/conf/domain_conf.h                        |  2 +
 src/qemu/qemu_capabilities.c                  |  4 ++
 src/qemu/qemu_capabilities.h                  |  2 +
 src/qemu/qemu_command.c                       |  6 ++
 src/qemu/qemu_validate.c                      | 26 ++++++++
 .../caps_2.10.0.aarch64.xml                   |  2 +
 .../caps_2.10.0.ppc64.xml                     |  2 +
 .../caps_2.10.0.s390x.xml                     |  2 +
 .../caps_2.10.0.x86_64.xml                    |  2 +
 .../caps_2.11.0.s390x.xml                     |  2 +
 .../caps_2.11.0.x86_64.xml                    |  2 +
 .../caps_2.12.0.aarch64.xml                   |  2 +
 .../caps_2.12.0.ppc64.xml                     |  2 +
 .../caps_2.12.0.s390x.xml                     |  2 +
 .../caps_2.12.0.x86_64.xml                    |  2 +
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |  2 +
 .../caps_3.0.0.riscv32.xml                    |  2 +
 .../caps_3.0.0.riscv64.xml                    |  2 +
 .../qemucapabilitiesdata/caps_3.0.0.s390x.xml |  2 +
 .../caps_3.0.0.x86_64.xml                     |  2 +
 .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml |  2 +
 .../caps_3.1.0.x86_64.xml                     |  2 +
 .../caps_4.0.0.aarch64.xml                    |  2 +
 .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml |  2 +
 .../caps_4.0.0.riscv32.xml                    |  2 +
 .../caps_4.0.0.riscv64.xml                    |  2 +
 .../qemucapabilitiesdata/caps_4.0.0.s390x.xml |  2 +
 .../caps_4.0.0.x86_64.xml                     |  2 +
 .../caps_4.1.0.x86_64.xml                     |  2 +
 .../caps_4.2.0.aarch64.xml                    |  2 +
 .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  2 +
 .../qemucapabilitiesdata/caps_4.2.0.s390x.xml |  2 +
 .../caps_4.2.0.x86_64.xml                     |  2 +
 .../caps_5.0.0.aarch64.xml                    |  2 +
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  2 +
 .../caps_5.0.0.riscv64.xml                    |  2 +
 .../caps_5.0.0.x86_64.xml                     |  2 +
 .../caps_5.1.0.x86_64.xml                     |  2 +
 .../caps_5.2.0.x86_64.xml                     |  2 +
 .../virtio-9p-fmodedmode.x86_64-latest.args   | 48 +++++++++++++++
 .../qemuxml2argvdata/virtio-9p-fmodedmode.xml | 58 ++++++++++++++++++
 .../virtio-9p-fmodedmode.x86_64-latest.xml    | 61 +++++++++++++++++++
 tests/qemuxml2xmltest.c                       |  1 +
 46 files changed, 347 insertions(+)
 create mode 100644 tests/qemuxml2argvdata/virtio-9p-fmodedmode.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/virtio-9p-fmodedmode.xml
 create mode 100644 tests/qemuxml2xmloutdata/virtio-9p-fmodedmode.x86_64-latest.xml

-- 
2.25.1




More information about the libvir-list mailing list