[Qemu-devel] [PATCH v2 0/2] Add virtio-fs (experimental)

Dr. David Alan Gilbert (git) posted 2 patches 4 years, 7 months ago
Test docker-clang@ubuntu passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190823175657.12085-1-dgilbert@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>
There is a newer version of this series
configure                                   |  13 +
hw/virtio/Makefile.objs                     |   2 +
hw/virtio/vhost-user-fs-pci.c               |  85 ++++++
hw/virtio/vhost-user-fs.c                   | 297 ++++++++++++++++++++
include/hw/virtio/vhost-user-fs.h           |  45 +++
include/standard-headers/linux/virtio_fs.h  |  41 +++
include/standard-headers/linux/virtio_ids.h |   1 +
7 files changed, 484 insertions(+)
create mode 100644 hw/virtio/vhost-user-fs-pci.c
create mode 100644 hw/virtio/vhost-user-fs.c
create mode 100644 include/hw/virtio/vhost-user-fs.h
create mode 100644 include/standard-headers/linux/virtio_fs.h
[Qemu-devel] [PATCH v2 0/2] Add virtio-fs (experimental)
Posted by Dr. David Alan Gilbert (git) 4 years, 7 months ago
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

Hi,
  This pair of patches adds the core of the virtio-fs support to qemu;
it's marked experimental since the kernel patch and spec changes aren't
in yet; but they're bubbling along.

  While the spec change is still in progress; the ID number is already
reserved.

  A future set of patches will add the optional DAX mapping support.

  The actual qemu change is pretty minimal, since it's really only
a virtio device with some queues.

Some links:
  Mailing list: https://www.redhat.com/mailman/listinfo/virtio-fs
  Dev tree: Including filesystem daemon: https://gitlab.com/virtio-fs/qemu
  kernel: https://gitlab.com/virtio-fs/linux
  virtio spec changes: https://lists.oasis-open.org/archives/virtio-dev/201908/msg00104.html

v2:
  Renamed num_queues to num_request_queues
  Add a not-reached assert to vuf_handle_output
  Kill the one bit of notification queue off
  Use the same trick as vhost-user-scsi to calculate the number
    of vectors for the PCI device

Dr. David Alan Gilbert (2):
  virtio: add vhost-user-fs base device
  virtio: add vhost-user-fs-pci device

 configure                                   |  13 +
 hw/virtio/Makefile.objs                     |   2 +
 hw/virtio/vhost-user-fs-pci.c               |  85 ++++++
 hw/virtio/vhost-user-fs.c                   | 297 ++++++++++++++++++++
 include/hw/virtio/vhost-user-fs.h           |  45 +++
 include/standard-headers/linux/virtio_fs.h  |  41 +++
 include/standard-headers/linux/virtio_ids.h |   1 +
 7 files changed, 484 insertions(+)
 create mode 100644 hw/virtio/vhost-user-fs-pci.c
 create mode 100644 hw/virtio/vhost-user-fs.c
 create mode 100644 include/hw/virtio/vhost-user-fs.h
 create mode 100644 include/standard-headers/linux/virtio_fs.h

-- 
2.21.0


Re: [Qemu-devel] [Virtio-fs] [PATCH v2 0/2] Add virtio-fs (experimental)
Posted by Dr. David Alan Gilbert 4 years, 7 months ago
Oops, ment to cc mst on this:

* Dr. David Alan Gilbert (git) (dgilbert@redhat.com) wrote:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> 
> Hi,
>   This pair of patches adds the core of the virtio-fs support to qemu;
> it's marked experimental since the kernel patch and spec changes aren't
> in yet; but they're bubbling along.
> 
>   While the spec change is still in progress; the ID number is already
> reserved.
> 
>   A future set of patches will add the optional DAX mapping support.
> 
>   The actual qemu change is pretty minimal, since it's really only
> a virtio device with some queues.
> 
> Some links:
>   Mailing list: https://www.redhat.com/mailman/listinfo/virtio-fs
>   Dev tree: Including filesystem daemon: https://gitlab.com/virtio-fs/qemu
>   kernel: https://gitlab.com/virtio-fs/linux
>   virtio spec changes: https://lists.oasis-open.org/archives/virtio-dev/201908/msg00104.html
> 
> v2:
>   Renamed num_queues to num_request_queues
>   Add a not-reached assert to vuf_handle_output
>   Kill the one bit of notification queue off
>   Use the same trick as vhost-user-scsi to calculate the number
>     of vectors for the PCI device
> 
> Dr. David Alan Gilbert (2):
>   virtio: add vhost-user-fs base device
>   virtio: add vhost-user-fs-pci device
> 
>  configure                                   |  13 +
>  hw/virtio/Makefile.objs                     |   2 +
>  hw/virtio/vhost-user-fs-pci.c               |  85 ++++++
>  hw/virtio/vhost-user-fs.c                   | 297 ++++++++++++++++++++
>  include/hw/virtio/vhost-user-fs.h           |  45 +++
>  include/standard-headers/linux/virtio_fs.h  |  41 +++
>  include/standard-headers/linux/virtio_ids.h |   1 +
>  7 files changed, 484 insertions(+)
>  create mode 100644 hw/virtio/vhost-user-fs-pci.c
>  create mode 100644 hw/virtio/vhost-user-fs.c
>  create mode 100644 include/hw/virtio/vhost-user-fs.h
>  create mode 100644 include/standard-headers/linux/virtio_fs.h
> 
> -- 
> 2.21.0
> 
> _______________________________________________
> Virtio-fs mailing list
> Virtio-fs@redhat.com
> https://www.redhat.com/mailman/listinfo/virtio-fs
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK