Skip to contentSkip to conversation

doc: deprecate vhost-cuse

PATCH Applied Yuanhan Liu 6 participants 7 messages Jul 15, 2016 – Jul 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: deprecate vhost-cuse

Vhost-cuse was invented before vhost-user exist. The both are actually doing the same thing: a vhost-net implementation in user space. But they are not exactly the same thing.

Firstly, vhost-cuse is harder for use; no one seems to care it, either. Furthermore, since v2.1, a large majority of development effort has gone to vhost-user. For example, we extended the vhost-user spec to add the multiple queue support. We also added the vhost-user live migration at v16.04 and the latest one, vhost-user reconnect that allows vhost app restart without restarting the guest. Both of them are very important features for product usage and none of them works for vhost-cuse.

You now see that the difference between vhost-user and vhost-cuse is big (and will be bigger and bigger as time moves forward), that you should never use vhost-cuse, that we should drop it completely.

The remove would also result to a much cleaner code base, allowing us to do all kinds of extending easier.

So here to mark vhost-cuse as deprecated in this release and will be removed in the next release (v16.11).

---
 doc/guides/rel_notes/deprecation.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/guides/rel_notes/deprecation.rst +4 -0
index f502f86..ee99558 100644
@@ -41,3 +41,7 @@ Deprecation Notices
 * The mempool functions for single/multi producer/consumer are deprecated and
   will be removed in 16.11.
   It is replaced by rte_mempool_generic_get/put functions.
+
+* The vhost-cuse will be removed in 16.11. Since v2.1, a large majority of
+  development effort has gone to vhost-user, such as multiple-queue, live
+  migration, reconnect etc. Therefore, vhost-user should be used instead.
Signature · 1 line
1.9.0
Acked-by on v1 1/1
#1 lore raw
Quoted 44 lines

Subject: [dpdk-dev] [PATCH] doc: deprecate vhost-cuse

Vhost-cuse was invented before vhost-user exist. The both are actually doing the same thing: a vhost-net implementation in user space. But they are not exactly the same thing.

Firstly, vhost-cuse is harder for use; no one seems to care it, either. Furthermore, since v2.1, a large majority of development effort has gone to vhost-user. For example, we extended the vhost-user spec to add the multiple queue support. We also added the vhost-user live migration at v16.04 and the latest one, vhost-user reconnect that allows vhost app restart without restarting the guest. Both of them are very important features for product usage and none of them works for vhost-cuse.

You now see that the difference between vhost-user and vhost-cuse is big (and will be bigger and bigger as time moves forward), that you should never use vhost-cuse, that we should drop it completely.

The remove would also result to a much cleaner code base, allowing us to do all kinds of extending easier.

So here to mark vhost-cuse as deprecated in this release and will be removed in the next release (v16.11).

---
 doc/guides/rel_notes/deprecation.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/guides/rel_notes/deprecation.rst +0 -0
index f502f86..ee99558 100644
@@ -41,3 +41,7 @@ Deprecation Notices
 * The mempool functions for single/multi producer/consumer are

deprecated and
will be removed in 16.11.
It is replaced by rte_mempool_generic_get/put functions.

doc/guides/rel_notes/deprecation.rst +4 -1
+
+* The vhost-cuse will be removed in 16.11. Since v2.1, a large majority of
+  development effort has gone to vhost-user, such as multiple-queue, live
+  migration, reconnect etc. Therefore, vhost-user should be used instead.
--
Quoted 1 line

1.9.0

#2 lore raw
Quoted 19 lines
Quoted 19 lines

Vhost-cuse was invented before vhost-user exist. The both are actually doing the same thing: a vhost-net implementation in user space. But they are not exactly the same thing.

Firstly, vhost-cuse is harder for use; no one seems to care it, either. Furthermore, since v2.1, a large majority of development effort has gone to vhost-user. For example, we extended the vhost-user spec to add the multiple queue support. We also added the vhost-user live migration at v16.04 and the latest one, vhost-user reconnect that allows vhost app restart without restarting the guest. Both of them are very important features for product usage and none of them works for vhost-cuse.

You now see that the difference between vhost-user and vhost-cuse is big (and will be bigger and bigger as time moves forward), that you should never use vhost-cuse, that we should drop it completely.

The remove would also result to a much cleaner code base, allowing us to do all kinds of extending easier.

Quoted 6 lines
Quoted 4 lines

So here to mark vhost-cuse as deprecated in this release and will be removed in the next release (v16.11).

Acked-by
#3 lore raw
Quoted 21 lines · Thomas Monjalon
Quoted 2 lines
Quoted 2 lines

Vhost-cuse was invented before vhost-user exist. The both are actually doing the same thing: a vhost-net implementation in user space. But

they

Quoted 4 lines
Quoted 4 lines

are not exactly the same thing.

Firstly, vhost-cuse is harder for use; no one seems to care it, either. Furthermore, since v2.1, a large majority of development effort has

gone

Quoted 13 lines
Quoted 13 lines

to vhost-user. For example, we extended the vhost-user spec to add the multiple queue support. We also added the vhost-user live migration at v16.04 and the latest one, vhost-user reconnect that allows vhost app restart without restarting the guest. Both of them are very important features for product usage and none of them works for vhost-cuse.

You now see that the difference between vhost-user and vhost-cuse is big (and will be bigger and bigger as time moves forward), that you should never use vhost-cuse, that we should drop it completely.

The remove would also result to a much cleaner code base, allowing us to do all kinds of extending easier.

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

So here to mark vhost-cuse as deprecated in this release and will be removed in the next release (v16.11).

Acked-by on v1 1/1
#4 lore raw
In reply to Yuanhan Liu
Quoted 19 lines · On Fri, 15 Jul 2016 20:28:33 +0800 Yuanhan Liu <[email protected]>…

Vhost-cuse was invented before vhost-user exist. The both are actually doing the same thing: a vhost-net implementation in user space. But they are not exactly the same thing.

Firstly, vhost-cuse is harder for use; no one seems to care it, either. Furthermore, since v2.1, a large majority of development effort has gone to vhost-user. For example, we extended the vhost-user spec to add the multiple queue support. We also added the vhost-user live migration at v16.04 and the latest one, vhost-user reconnect that allows vhost app restart without restarting the guest. Both of them are very important features for product usage and none of them works for vhost-cuse.

You now see that the difference between vhost-user and vhost-cuse is big (and will be bigger and bigger as time moves forward), that you should never use vhost-cuse, that we should drop it completely.

The remove would also result to a much cleaner code base, allowing us to do all kinds of extending easier.

Quoted 7 lines

So here to mark vhost-cuse as deprecated in this release and will be removed in the next release (v16.11).

#5 lore raw

Hi Thomas,
just my two cents as Ubuntu DPDK maintainer (and part of the Debian Team that does the same).

We never used vhost-cuse in any of our exampled, documentations or tests (It seems we started "late enough").

So again I think it is a good change to drop rather unmaintained parts to make the rest more stable:

Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd

Quoted 32 lines · Jan Viktorin
Quoted 19 lines · On Fri, 15 Jul 2016 20:28:33 +0800 Yuanhan Liu <[email protected]>…

Vhost-cuse was invented before vhost-user exist. The both are actually doing the same thing: a vhost-net implementation in user space. But they are not exactly the same thing.

Firstly, vhost-cuse is harder for use; no one seems to care it, either. Furthermore, since v2.1, a large majority of development effort has gone to vhost-user. For example, we extended the vhost-user spec to add the multiple queue support. We also added the vhost-user live migration at v16.04 and the latest one, vhost-user reconnect that allows vhost app restart without restarting the guest. Both of them are very important features for product usage and none of them works for vhost-cuse.

You now see that the difference between vhost-user and vhost-cuse is big (and will be bigger and bigger as time moves forward), that you should never use vhost-cuse, that we should drop it completely.

The remove would also result to a much cleaner code base, allowing us to do all kinds of extending easier.

Quoted 7 lines

So here to mark vhost-cuse as deprecated in this release and will be removed in the next release (v16.11).

#6 lore raw
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

Vhost-cuse was invented before vhost-user exist. The both are actually doing the same thing: a vhost-net implementation in user space. But they are not exactly the same thing.

Firstly, vhost-cuse is harder for use; no one seems to care it, either. Furthermore, since v2.1, a large majority of development effort has gone to vhost-user. For example, we extended the vhost-user spec to add the multiple queue support. We also added the vhost-user live migration at v16.04 and the latest one, vhost-user reconnect that allows vhost app restart without restarting the guest. Both of them are very important features for product usage and none of them works for vhost-cuse.

You now see that the difference between vhost-user and vhost-cuse is big (and will be bigger and bigger as time moves forward), that you should never use vhost-cuse, that we should drop it completely.

The remove would also result to a much cleaner code base, allowing us to do all kinds of extending easier.

So here to mark vhost-cuse as deprecated in this release and will be removed in the next release (v16.11).

Quoted 6 lines
Quoted 5 lines
Quoted 4 lines

Applied, thanks