[libvirt PATCHv2 00/10] add virtiofs support (virtio-fs epopee)

Ján Tomko posted 10 patches 6 years ago
Test syntax-check failed
Failed in applying to current master (apply log)
There is a newer version of this series
docs/formatdomain.html.in                     |  23 ++
docs/kbase.html.in                            |   3 +
docs/kbase/virtiofs.rst                       | 153 +++++++++++
docs/schemas/domaincommon.rng                 | 117 +++++++--
po/POTFILES.in                                |   1 +
src/conf/domain_conf.c                        | 161 +++++++++++-
src/conf/domain_conf.h                        |  17 ++
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                  |   2 +
src/qemu/qemu_capabilities.h                  |   1 +
src/qemu/qemu_command.c                       |  49 +++-
src/qemu/qemu_conf.c                          |   2 +
src/qemu/qemu_conf.h                          |   1 +
src/qemu/qemu_domain.c                        |  36 +++
src/qemu/qemu_domain.h                        |   2 +-
src/qemu/qemu_domain_address.c                |   4 +
src/qemu/qemu_extdevice.c                     |  19 ++
src/qemu/qemu_virtiofs.c                      | 241 ++++++++++++++++++
src/qemu/qemu_virtiofs.h                      |  37 +++
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 +
...vhost-user-fs-fd-memory.x86_64-latest.args |  38 +++
.../vhost-user-fs-fd-memory.xml               |  42 +++
...vhost-user-fs-hugepages.x86_64-latest.args |  46 ++++
.../vhost-user-fs-hugepages.xml               |  75 ++++++
tests/qemuxml2argvtest.c                      |   9 +
.../vhost-user-fs-fd-memory.x86_64-latest.xml |   1 +
.../vhost-user-fs-hugepages.x86_64-latest.xml |   1 +
tests/qemuxml2xmltest.c                       |   3 +
34 files changed, 1064 insertions(+), 35 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 PATCHv2 00/10] add virtiofs support (virtio-fs epopee)
Posted by Ján Tomko 6 years ago
v1: https://www.redhat.com/archives/libvir-list/2019-November/msg00005.html

https://bugzilla.redhat.com/show_bug.cgi?id=1694166

Ján Tomko (10):
  conf: use virXMLFormatElement in virDomainFSDefFormat
  qemu: add QEMU_CAPS_VHOST_USER_FS
  schema: wrap fsDriver in a choice group
  conf: qemu: add virtiofs fsdriver type
  conf: add virtiofs-related elements and attributes
  qemu: add virtiofs_debug to qemu.conf
  qemu: validate virtiofs filesystems
  qemu: add code for handling virtiofsd
  qemu: build vhost-user-fs device command line
  docs: add virtiofs kbase

 docs/formatdomain.html.in                     |  23 ++
 docs/kbase.html.in                            |   3 +
 docs/kbase/virtiofs.rst                       | 153 +++++++++++
 docs/schemas/domaincommon.rng                 | 117 +++++++--
 po/POTFILES.in                                |   1 +
 src/conf/domain_conf.c                        | 161 +++++++++++-
 src/conf/domain_conf.h                        |  17 ++
 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                  |   2 +
 src/qemu/qemu_capabilities.h                  |   1 +
 src/qemu/qemu_command.c                       |  49 +++-
 src/qemu/qemu_conf.c                          |   2 +
 src/qemu/qemu_conf.h                          |   1 +
 src/qemu/qemu_domain.c                        |  36 +++
 src/qemu/qemu_domain.h                        |   2 +-
 src/qemu/qemu_domain_address.c                |   4 +
 src/qemu/qemu_extdevice.c                     |  19 ++
 src/qemu/qemu_virtiofs.c                      | 241 ++++++++++++++++++
 src/qemu/qemu_virtiofs.h                      |  37 +++
 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 +
 ...vhost-user-fs-fd-memory.x86_64-latest.args |  38 +++
 .../vhost-user-fs-fd-memory.xml               |  42 +++
 ...vhost-user-fs-hugepages.x86_64-latest.args |  46 ++++
 .../vhost-user-fs-hugepages.xml               |  75 ++++++
 tests/qemuxml2argvtest.c                      |   9 +
 .../vhost-user-fs-fd-memory.x86_64-latest.xml |   1 +
 .../vhost-user-fs-hugepages.x86_64-latest.xml |   1 +
 tests/qemuxml2xmltest.c                       |   3 +
 34 files changed, 1064 insertions(+), 35 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.21.0

Re: [libvirt PATCHv2 00/10] add virtiofs support (virtio-fs epopee)
Posted by Stefan Hajnoczi 6 years ago
On Thu, Jan 23, 2020 at 5:49 PM Ján Tomko <jtomko@redhat.com> wrote:
>
> v1: https://www.redhat.com/archives/libvir-list/2019-November/msg00005.html
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1694166
>
> Ján Tomko (10):
>   conf: use virXMLFormatElement in virDomainFSDefFormat
>   qemu: add QEMU_CAPS_VHOST_USER_FS
>   schema: wrap fsDriver in a choice group
>   conf: qemu: add virtiofs fsdriver type
>   conf: add virtiofs-related elements and attributes
>   qemu: add virtiofs_debug to qemu.conf
>   qemu: validate virtiofs filesystems
>   qemu: add code for handling virtiofsd
>   qemu: build vhost-user-fs device command line
>   docs: add virtiofs kbase

Thanks for adding virtiofsd parameters (like the debug flag, xattr,
posix file locking, etc).  This series looks functionally complete to
me:

Acked-by: Stefan Hajnoczi <stefanha@redhat.com>