Skip to contentSkip to conversation

Deprecate C virtiofsd

PATCH Superseded Dr. David Alan Gilbert (git) 4 participants 8 messages Feb 9, 2022 – Feb 10, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
docs/about/deprecated.rst +14 -0
index 47a594a3b6..3a0e15f8f5 100644
@@ -454,3 +454,17 @@ 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 ``virtiofs`` 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.
+
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 6 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.

Vivek

Quoted 29 lines
---
 docs/about/deprecated.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
docs/about/deprecated.rst +14 -0
index 47a594a3b6..3a0e15f8f5 100644
@@ -454,3 +454,17 @@ 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 ``virtiofs`` 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.
+
Signature · 1 line
2.34.1
#2 lore raw
In reply to Dr. David Alan Gilbert (git)
Quoted 17 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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
docs/about/deprecated.rst +0 -0
index 47a594a3b6..3a0e15f8f5 100644
@@ -454,3 +454,17 @@ nanoMIPS ISA
 

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

Quoted 10 lines
docs/about/deprecated.rst +8 -0
 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 ``virtiofs`` at

I guess there's a missing "d" here ?

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

Quoted 5 lines
docs/about/deprecated.rst +5 -0
+``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.

thanks
-- PMM

#3 lore raw
Quoted 19 lines · * Peter Maydell ([email protected]) wrote:
Quoted 17 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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
docs/about/deprecated.rst +0 -0
index 47a594a3b6..3a0e15f8f5 100644
@@ -454,3 +454,17 @@ nanoMIPS ISA
 
Quoted 12 lines

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

Quoted 10 lines
docs/about/deprecated.rst +8 -0
 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 ``virtiofs`` at

I guess there's a missing "d" here ?

Oops yes, can add that.

Dave

Quoted 9 lines

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

Quoted 5 lines
docs/about/deprecated.rst +5 -0
+``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.

thanks
-- PMM

Signature · 1 line
Dr. David Alan Gilbert / [email protected] / Manchester, UK
#4 lore raw
In reply to Dr. David Alan Gilbert (git)
Quoted 21 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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
docs/about/deprecated.rst +3 -0
index 47a594a3b6..3a0e15f8f5 100644
@@ -454,3 +454,17 @@ 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
+-----

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

Quoted 10 lines
docs/about/deprecated.rst +10 -0
+
+virtiofsd
+'''''''''
+
+There is a new Rust implementation of ``virtiofs`` 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.

Just to be clear, 'deprecation' is usually expected to turn into 'deletion' a minimum of 2 releases later. We are targetting the C virtiofsd to be deleted, right ? The last sentance here gives vibes that we're expecting it to stick around despite deprecation.

Assuming we're deleting it after deprecation, then I think thue message should be more direct in telling people they shold be proactively switching to deployment of the rust version. Something along lines of

"The C implementation is in maintenance mode only and will
be deleted once the deprecation period is complete. New deployments of virtiofs are strongly recommended to switch to use of the Rust implementation of virtiofsd, which is a drop in replacement will compatible command line and featureset."

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 :|
#5 lore raw
Quoted 29 lines · * Daniel P. Berrangé ([email protected]) wrote:
Quoted 28 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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
docs/about/deprecated.rst +10 -0
index 47a594a3b6..3a0e15f8f5 100644
@@ -454,3 +454,17 @@ 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 ``virtiofs`` at
+``https://gitlab.com/virtio-fs/virtiofsd``;
+since this is now marked stable, new development should be done on that
Quoted 8 lines

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

Quoted 3 lines
docs/about/deprecated.rst +3 -0
+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.

Just to be clear, 'deprecation' is usually expected to turn into 'deletion' a minimum of 2 releases later. We are targetting the C virtiofsd to be deleted, right ? The last sentance here gives vibes that we're expecting it to stick around despite deprecation.

I am targeting it to be deleted, but I'm expecting to give it a bit more time than 2 releases; how do I do that?

Quoted 11 lines

Assuming we're deleting it after deprecation, then I think thue message should be more direct in telling people they shold be proactively switching to deployment of the rust version. Something along lines of

"The C implementation is in maintenance mode only and will
be deleted once the deprecation period is complete. New deployments of virtiofs are strongly recommended to switch to use of the Rust implementation of virtiofsd, which is a drop in replacement will compatible command line and featureset."

Yeh, I'll rework it in that direction; I was trying to be gentle at first.

Dave

Quoted 8 lines

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 :|
Signature · 1 line
Dr. David Alan Gilbert / [email protected] / Manchester, UK
#6 lore raw
Quoted 39 lines · Dr. David Alan Gilbert
Quoted 29 lines · * Daniel P. Berrangé ([email protected]) wrote:
Quoted 28 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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
docs/about/deprecated.rst +10 -0
index 47a594a3b6..3a0e15f8f5 100644
@@ -454,3 +454,17 @@ 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 ``virtiofs`` at
+``https://gitlab.com/virtio-fs/virtiofsd``;
+since this is now marked stable, new development should be done on that
Quoted 8 lines

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

Quoted 3 lines
docs/about/deprecated.rst +3 -0
+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.

Just to be clear, 'deprecation' is usually expected to turn into 'deletion' a minimum of 2 releases later. We are targetting the C virtiofsd to be deleted, right ? The last sentance here gives vibes that we're expecting it to stick around despite deprecation.

Quoted 2 lines

I am targeting it to be deleted, but I'm expecting to give it a bit more time than 2 releases; how do I do that?

You can forget to remove it after 2 releases, which is what happens with many deprecations :-) '2' is really just the minimum bar in practice.

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 :|
#7 lore raw
Quoted 40 lines · * Daniel P. Berrangé ([email protected]) wrote:
Quoted 39 lines · Dr. David Alan Gilbert
Quoted 37 lines · * Daniel P. Berrangé ([email protected]) wrote:
Quoted 21 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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
docs/about/deprecated.rst +3 -0
index 47a594a3b6..3a0e15f8f5 100644
@@ -454,3 +454,17 @@ 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
+-----

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

Quoted 10 lines
docs/about/deprecated.rst +10 -0
+
+virtiofsd
+'''''''''
+
+There is a new Rust implementation of ``virtiofs`` 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.

Just to be clear, 'deprecation' is usually expected to turn into 'deletion' a minimum of 2 releases later. We are targetting the C virtiofsd to be deleted, right ? The last sentance here gives vibes that we're expecting it to stick around despite deprecation.

Quoted 6 lines
Quoted 2 lines

I am targeting it to be deleted, but I'm expecting to give it a bit more time than 2 releases; how do I do that?

You can forget to remove it after 2 releases, which is what happens with many deprecations :-) '2' is really just the minimum bar in practice.

OK, I can remember to forget.

Dave

Quoted 7 lines

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 :|
Signature · 1 line
Dr. David Alan Gilbert / [email protected] / Manchester, UK