Re: [PATCH v2 05/10] net: Consolidate vhost feature bits into NetClientInfo

2025-06-30 Thread Jason Wang
On Wed, Jun 18, 2025 at 11:57 PM Laurent Vivier wrote: > > Previously, the vhost_net_get_feature_bits() function in > hw/net/vhost_net.c used a large switch statement to determine > the appropriate feature bits based on the NetClientDriver type. > > This created unnecessary coupling between the ge

[PATCH v2 05/10] net: Consolidate vhost feature bits into NetClientInfo

2025-06-18 Thread Laurent Vivier
Previously, the vhost_net_get_feature_bits() function in hw/net/vhost_net.c used a large switch statement to determine the appropriate feature bits based on the NetClientDriver type. This created unnecessary coupling between the generic vhost layer and specific network backends (like TAP, vhost-us