On 30.01.26 04:55, Jason Wang wrote:
On Fri, Jan 30, 2026 at 5:21 AM Vladimir Sementsov-Ogievskiy
<[email protected]> wrote:
On 14.11.25 04:34, Jason Wang wrote:
On Thu, Nov 13, 2025 at 3:17 PM Vladimir Sementsov-Ogievskiy
<[email protected]> wrote:
This option for tap and vhost-user netdevs doesn't make sense
since long ago (10 years!), starting from commits:
1e7398a140f7a6 ("vhost: enable vhost without without MSI-X")
24f938a682d934 ("vhost user:support vhost user nic for non msi guests")
Prior these commits, to enable kernel vhost-net, or vhost-user-net for
some specific kind of guests (that don't have MSI-X support), you should
have set vhostforce=on.
Now guest type doesn't matter, all guests are equal for these
options logic.
For tap the current logic is:
vhost=on / vhost=off : vhostforce ignored, doesn't make sense
vhost unset : vhostforce counts, enabling vhost
So you may enable vhost for tap several ways:
- vhost=on
- vhostforce=on
- vhost=on + vhostforce=on
- and even vhost=on + vhostforce=off
- they are all equal.
For vhost-user we simply ignore the vhostforce option at all in the
code.
Let's finally deprecate the extra options.
Also, fix @vhostforce documentation everywhere to show the real picture,
and update vhost-user test to not use deprecated option.
While updating command line options, drop "experimental" word from
"experimental in kernel accelerator". vhost-net is in production for
years.
Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
---
v6: - update numbers 10.2 -> 11.0
- add r-b by Markus
I've queued this for 11.0.
Thanks.
Hi! Isn't this forgotten? You've recently pulled some my commits, but this one
is still not in master..
Apologize, this falls through the cracks.
Thanks
Ping)
--
Best regards,
Vladimir