Skip to contentSkip to conversation

Deprecate C virtiofsd

PATCH Applied Dr. David Alan Gilbert (git) 5 participants 6 messages Feb 10, 2022 – Feb 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Deprecate C virtiofsd

From: "Dr. David Alan Gilbert" <[email protected]>

There's a nice new Rust implementation out there; recommend people do new work on that.

---
 docs/about/deprecated.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
docs/about/deprecated.rst +17 -0
index 47a594a3b6..3c73d22729 100644
@@ -454,3 +454,20 @@ nanoMIPS ISA
 
 The ``nanoMIPS`` ISA has never been upstreamed to any compiler toolchain.
 As it is hard to generate binaries for it, declare it deprecated.
+
+Tools
+-----
+
+virtiofsd
+'''''''''
+
+There is a new Rust implementation of ``virtiofsd`` at
+``https://gitlab.com/virtio-fs/virtiofsd``;
+since this is now marked stable, new development should be done on that
+rather than the existing C version in the QEMU tree.
+The C version will still accept fixes and patches that
+are already in development for the moment, but will eventually
+be deleted from this tree.
+New deployments should use the Rust version, and existing systems
+should consider moving to it.  The command line and feature set
+is very close and moving should be simple.
Signature · 1 line
2.34.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

There's a nice new Rust implementation out there; recommend people do new work on that.

---
 docs/about/deprecated.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#2 lore raw
In reply to Dr. David Alan Gilbert (git)
Quoted 25 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

There's a nice new Rust implementation out there; recommend people do new work on that.

---
 docs/about/deprecated.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
docs/about/deprecated.rst +7 -0
index 47a594a3b6..3c73d22729 100644
@@ -454,3 +454,20 @@ nanoMIPS ISA
 
 The ``nanoMIPS`` ISA has never been upstreamed to any compiler toolchain.
 As it is hard to generate binaries for it, declare it deprecated.
+
+Tools
+-----
+
+virtiofsd
+'''''''''
+

docs/about/deprecated.rst nanoMIPS ISA · line 473

Quoted 10 lines
docs/about/deprecated.rst +10 -0
+There is a new Rust implementation of ``virtiofsd`` at
+``https://gitlab.com/virtio-fs/virtiofsd``;
+since this is now marked stable, new development should be done on that
+rather than the existing C version in the QEMU tree.
+The C version will still accept fixes and patches that
+are already in development for the moment, but will eventually
+be deleted from this tree.
+New deployments should use the Rust version, and existing systems
+should consider moving to it.  The command line and feature set
+is very close and moving should be simple.

I'm not qualified to say if the Rust impl is complete enough to replace the C version, so I won't add a reviewed tag.

However I want to say that from the point of view of downstream packagers of qemu -- especially Fedora -- it would be helpful if we could direct both upstream development effort and downstream packaging into just the one virtiofsd. So I agree in principle with this.

Rich.

Signature · 5 lines
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
#5 lore raw
In reply to Dr. David Alan Gilbert (git)
Quoted 9 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

There's a nice new Rust implementation out there; recommend people do new work on that.

---
 docs/about/deprecated.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Thanks, applied to my block tree:
https://gitlab.com/stefanha/qemu/commits/block

Stefan

#3 lore raw
In reply to Richard W.M. Jones
Quoted 31 lines · * Richard W.M. Jones ([email protected]) wrote:
Quoted 30 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

There's a nice new Rust implementation out there; recommend people do new work on that.

---
 docs/about/deprecated.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
docs/about/deprecated.rst +12 -0
index 47a594a3b6..3c73d22729 100644
@@ -454,3 +454,20 @@ nanoMIPS ISA
 
 The ``nanoMIPS`` ISA has never been upstreamed to any compiler toolchain.
 As it is hard to generate binaries for it, declare it deprecated.
+
+Tools
+-----
+
+virtiofsd
+'''''''''
+
+There is a new Rust implementation of ``virtiofsd`` at
+``https://gitlab.com/virtio-fs/virtiofsd``;
+since this is now marked stable, new development should be done on that
+rather than the existing C version in the QEMU tree.
+The C version will still accept fixes and patches that
Quoted 8 lines

docs/about/deprecated.rst nanoMIPS ISA · line 473

Quoted 5 lines
docs/about/deprecated.rst +5 -0
+are already in development for the moment, but will eventually
+be deleted from this tree.
+New deployments should use the Rust version, and existing systems
+should consider moving to it.  The command line and feature set
+is very close and moving should be simple.

I'm not qualified to say if the Rust impl is complete enough to replace the C version, so I won't add a reviewed tag.

We believe it is a complete replacement at this point, with compatible command line.

Dave

Quoted 14 lines

However I want to say that from the point of view of downstream packagers of qemu -- especially Fedora -- it would be helpful if we could direct both upstream development effort and downstream packaging into just the one virtiofsd. So I agree in principle with this.

Rich.

Signature · 5 lines
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
Signature · 1 line
Dr. David Alan Gilbert / [email protected] / Manchester, UK
#4 lore raw
Quoted 41 lines · Dr. David Alan Gilbert
Quoted 31 lines · * Richard W.M. Jones ([email protected]) wrote:
Quoted 30 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

There's a nice new Rust implementation out there; recommend people do new work on that.

---
 docs/about/deprecated.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
docs/about/deprecated.rst +12 -0
index 47a594a3b6..3c73d22729 100644
@@ -454,3 +454,20 @@ nanoMIPS ISA
 
 The ``nanoMIPS`` ISA has never been upstreamed to any compiler toolchain.
 As it is hard to generate binaries for it, declare it deprecated.
+
+Tools
+-----
+
+virtiofsd
+'''''''''
+
+There is a new Rust implementation of ``virtiofsd`` at
+``https://gitlab.com/virtio-fs/virtiofsd``;
+since this is now marked stable, new development should be done on that
+rather than the existing C version in the QEMU tree.
+The C version will still accept fixes and patches that
Quoted 8 lines

docs/about/deprecated.rst nanoMIPS ISA · line 473

Quoted 5 lines
docs/about/deprecated.rst +5 -0
+are already in development for the moment, but will eventually
+be deleted from this tree.
+New deployments should use the Rust version, and existing systems
+should consider moving to it.  The command line and feature set
+is very close and moving should be simple.

I'm not qualified to say if the Rust impl is complete enough to replace the C version, so I won't add a reviewed tag.

Quoted 2 lines

We believe it is a complete replacement at this point, with compatible command line.

I think its not a complete replacement yet. For example, POSIX_ACLs are not supported yet. German is looking into making it work.

There might be other small things here and there, but nothing major, I think.

Vivek

Quoted 20 lines

Dave

Quoted 14 lines

However I want to say that from the point of view of downstream packagers of qemu -- especially Fedora -- it would be helpful if we could direct both upstream development effort and downstream packaging into just the one virtiofsd. So I agree in principle with this.

Rich.

Signature · 5 lines
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
Signature · 1 line
Dr. David Alan Gilbert / [email protected] / Manchester, UK