[libvirt PATCHv5 00/15] add virtiofs support (virtio-fs epopee)

Ján Tomko posted 15 patches 4 years, 1 month ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1582718065.git.jtomko@redhat.com
docs/formatdomain.html.in                     |  35 +-
docs/kbase.html.in                            |   3 +
docs/kbase/virtiofs.rst                       | 152 ++++++++
docs/schemas/domaincommon.rng                 |  88 ++++-
po/POTFILES.in                                |   1 +
src/conf/domain_conf.c                        | 105 +++++-
src/conf/domain_conf.h                        |  16 +
src/libvirt_private.syms                      |   1 +
src/qemu/Makefile.inc.am                      |   2 +
src/qemu/libvirtd_qemu.aug                    |   1 +
src/qemu/qemu.conf                            |   7 +
src/qemu/qemu_capabilities.c                  |   4 +
src/qemu/qemu_capabilities.h                  |   3 +
src/qemu/qemu_cgroup.c                        |   2 +-
src/qemu/qemu_command.c                       |  48 ++-
src/qemu/qemu_conf.c                          |   2 +
src/qemu/qemu_conf.h                          |   1 +
src/qemu/qemu_domain.c                        |  87 ++++-
src/qemu/qemu_domain.h                        |   2 +-
src/qemu/qemu_domain_address.c                |   4 +
src/qemu/qemu_extdevice.c                     |  46 ++-
src/qemu/qemu_extdevice.h                     |   3 +-
src/qemu/qemu_migration.c                     |  10 +
src/qemu/qemu_process.c                       |   4 +-
src/qemu/qemu_vhost_user.c                    |  39 ++
src/qemu/qemu_vhost_user.h                    |   4 +
src/qemu/qemu_virtiofs.c                      | 338 ++++++++++++++++++
src/qemu/qemu_virtiofs.h                      |  46 +++
src/qemu/test_libvirtd_qemu.aug.in            |   1 +
.../caps_4.2.0.aarch64.xml                    |   1 +
.../qemucapabilitiesdata/caps_4.2.0.s390x.xml |   1 +
.../caps_4.2.0.x86_64.xml                     |   1 +
.../caps_5.0.0.aarch64.xml                    |   1 +
.../caps_5.0.0.x86_64.xml                     |   1 +
...vhost-user-fs-fd-memory.x86_64-latest.args |  39 ++
.../vhost-user-fs-fd-memory.xml               |  43 +++
...vhost-user-fs-hugepages.x86_64-latest.args |  47 +++
.../vhost-user-fs-hugepages.xml               |  75 ++++
tests/qemuxml2argvtest.c                      |  14 +
.../vhost-user-fs-fd-memory.x86_64-latest.xml |   1 +
.../vhost-user-fs-hugepages.x86_64-latest.xml |   1 +
tests/qemuxml2xmltest.c                       |   4 +
42 files changed, 1257 insertions(+), 27 deletions(-)
create mode 100644 docs/kbase/virtiofs.rst
create mode 100644 src/qemu/qemu_virtiofs.c
create mode 100644 src/qemu/qemu_virtiofs.h
create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-fd-memory.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-fd-memory.xml
create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-hugepages.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-hugepages.xml
create mode 120000 tests/qemuxml2xmloutdata/vhost-user-fs-fd-memory.x86_64-latest.xml
create mode 120000 tests/qemuxml2xmloutdata/vhost-user-fs-hugepages.x86_64-latest.xml
[libvirt PATCHv5 00/15] add virtiofs support (virtio-fs epopee)
Posted by Ján Tomko 4 years, 1 month ago
v4: https://www.redhat.com/archives/libvir-list/2020-February/msg00707.html
v5: use priv->libDir for the pid file
 more validation checks
 cmd line escaping and memory leak fixes

Ján Tomko (15):
  schema: wrap fsDriver in a choice group
  qemuExtDevicesStart: pass logManager
  qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup
  qemuxml2xmltest: set driver as privileged
  qemu: add QEMU_CAPS_DEVICE_VHOST_USER_FS
  docs: add virtiofs kbase
  conf: qemu: add virtiofs fsdriver type
  conf: add virtiofs-related elements and attributes
  qemu: add virtiofsd_debug to qemu.conf
  qemu: validate virtiofs filesystems
  qemu: forbid migration with vhost-user-fs device
  qemu: add code for handling virtiofsd
  qemu: put virtiofsd in the emulator cgroup
  qemu: use the vhost-user schemas to find binary
  qemu: build vhost-user-fs device command line

 docs/formatdomain.html.in                     |  35 +-
 docs/kbase.html.in                            |   3 +
 docs/kbase/virtiofs.rst                       | 152 ++++++++
 docs/schemas/domaincommon.rng                 |  88 ++++-
 po/POTFILES.in                                |   1 +
 src/conf/domain_conf.c                        | 105 +++++-
 src/conf/domain_conf.h                        |  16 +
 src/libvirt_private.syms                      |   1 +
 src/qemu/Makefile.inc.am                      |   2 +
 src/qemu/libvirtd_qemu.aug                    |   1 +
 src/qemu/qemu.conf                            |   7 +
 src/qemu/qemu_capabilities.c                  |   4 +
 src/qemu/qemu_capabilities.h                  |   3 +
 src/qemu/qemu_cgroup.c                        |   2 +-
 src/qemu/qemu_command.c                       |  48 ++-
 src/qemu/qemu_conf.c                          |   2 +
 src/qemu/qemu_conf.h                          |   1 +
 src/qemu/qemu_domain.c                        |  87 ++++-
 src/qemu/qemu_domain.h                        |   2 +-
 src/qemu/qemu_domain_address.c                |   4 +
 src/qemu/qemu_extdevice.c                     |  46 ++-
 src/qemu/qemu_extdevice.h                     |   3 +-
 src/qemu/qemu_migration.c                     |  10 +
 src/qemu/qemu_process.c                       |   4 +-
 src/qemu/qemu_vhost_user.c                    |  39 ++
 src/qemu/qemu_vhost_user.h                    |   4 +
 src/qemu/qemu_virtiofs.c                      | 338 ++++++++++++++++++
 src/qemu/qemu_virtiofs.h                      |  46 +++
 src/qemu/test_libvirtd_qemu.aug.in            |   1 +
 .../caps_4.2.0.aarch64.xml                    |   1 +
 .../qemucapabilitiesdata/caps_4.2.0.s390x.xml |   1 +
 .../caps_4.2.0.x86_64.xml                     |   1 +
 .../caps_5.0.0.aarch64.xml                    |   1 +
 .../caps_5.0.0.x86_64.xml                     |   1 +
 ...vhost-user-fs-fd-memory.x86_64-latest.args |  39 ++
 .../vhost-user-fs-fd-memory.xml               |  43 +++
 ...vhost-user-fs-hugepages.x86_64-latest.args |  47 +++
 .../vhost-user-fs-hugepages.xml               |  75 ++++
 tests/qemuxml2argvtest.c                      |  14 +
 .../vhost-user-fs-fd-memory.x86_64-latest.xml |   1 +
 .../vhost-user-fs-hugepages.x86_64-latest.xml |   1 +
 tests/qemuxml2xmltest.c                       |   4 +
 42 files changed, 1257 insertions(+), 27 deletions(-)
 create mode 100644 docs/kbase/virtiofs.rst
 create mode 100644 src/qemu/qemu_virtiofs.c
 create mode 100644 src/qemu/qemu_virtiofs.h
 create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-fd-memory.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-fd-memory.xml
 create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-hugepages.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-hugepages.xml
 create mode 120000 tests/qemuxml2xmloutdata/vhost-user-fs-fd-memory.x86_64-latest.xml
 create mode 120000 tests/qemuxml2xmloutdata/vhost-user-fs-hugepages.x86_64-latest.xml

-- 
2.24.1

Re: [libvirt PATCHv5 00/15] add virtiofs support (virtio-fs epopee)
Posted by Andrea Bolognani 4 years, 1 month ago
On Wed, 2020-02-26 at 12:56 +0100, Ján Tomko wrote:
> v4: https://www.redhat.com/archives/libvir-list/2020-February/msg00707.html
> v5: use priv->libDir for the pid file
>  more validation checks
>  cmd line escaping and memory leak fixes
> 
> Ján Tomko (15):
>   schema: wrap fsDriver in a choice group
>   qemuExtDevicesStart: pass logManager
>   qemu: pass virDomainObjPtr to qemuExtDevicesSetupCgroup
>   qemuxml2xmltest: set driver as privileged
>   qemu: add QEMU_CAPS_DEVICE_VHOST_USER_FS
>   docs: add virtiofs kbase
>   conf: qemu: add virtiofs fsdriver type
>   conf: add virtiofs-related elements and attributes
>   qemu: add virtiofsd_debug to qemu.conf
>   qemu: validate virtiofs filesystems
>   qemu: forbid migration with vhost-user-fs device
>   qemu: add code for handling virtiofsd
>   qemu: put virtiofsd in the emulator cgroup
>   qemu: use the vhost-user schemas to find binary
>   qemu: build vhost-user-fs device command line

Tested-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization