Hi David,

On 4/25/22 14:54, David Marchand wrote:
Move message handler description and callbacks into a single array and
remove unneeded VHOST_USER_MAX and VHOST_SLAVE_MAX enums.

Signed-off-by: David Marchand <david.march...@redhat.com>
---
  drivers/net/virtio/virtio_user/vhost_user.c |   1 -
  examples/vhost_blk/blk_spec.h               |   1 -
  lib/vhost/vhost_user.c                      | 175 +++++++++-----------
  lib/vhost/vhost_user.h                      |   2 -
  4 files changed, 76 insertions(+), 103 deletions(-)


The patch does a bit more than what the commit title mentions.
What about: "vhost: refactor messages handlers declaration"?

Other than that, the patch content looks good to me:

Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>

Thanks,
Maxime

Reply via email to