[PATCH v3 1/3] qemu: capabilities: add QEMU_CAPS_VIRTFS_MULTIDEVS

Ján Tomko jtomko at redhat.com
Mon Apr 6 11:59:24 UTC 2020


On a Monday in 2020, Christian Schoenebeck wrote:
>The QEMU 9pfs 'multidevs' option exists since QEMU 4.2. Probe QEMU's
>command line set though to check whether this option is really
>available, and if yes enable this new QEMU_CAPS_VIRTFS_MULTIDEVS
>capability on libvirt side.
>
>Signed-off-by: Christian Schoenebeck <qemu_oss at crudebyte.com>
>---
> src/qemu/qemu_capabilities.c                      | 2 ++
> src/qemu/qemu_capabilities.h                      | 1 +
> tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml | 1 +
> tests/qemucapabilitiesdata/caps_4.2.0.s390x.xml   | 1 +
> tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml  | 1 +
> tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml | 1 +
> tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml   | 1 +
> tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml  | 1 +
> 8 files changed, 9 insertions(+)
>
>diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
>index a95a60c36a..5514f8eabf 100644
>--- a/src/qemu/qemu_capabilities.c
>+++ b/src/qemu/qemu_capabilities.c
>@@ -567,6 +567,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
>               "query-named-block-nodes.flat",
>               "blockdev-snapshot.allow-write-only-overlay",
>               "blockdev-reopen",
>+              "virtfs-multidevs",

since we probe the 'fsdev' command line option and use the -fsdev
command line option, I renamed the capability to QEMU_CAPS_FSDEV_MULTIDEVS
and its text variant to fsdev.multidevs

Jano

>     );
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200406/9a0046b2/attachment-0001.sig>


More information about the libvir-list mailing list