]> git.proxmox.com Git - mirror_qemu.git/commit - net/vhost-vdpa.c
vhost-vdpa: let net_vhost_vdpa_init() returns NetClientState *
authorJason Wang <jasowang@redhat.com>
Wed, 20 Oct 2021 04:55:54 +0000 (12:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Oct 2021 08:44:05 +0000 (04:44 -0400)
commit654790b65b8435a7d409b1873b566e8db9e91b9b
tree5f5d27f8a65e1f8374966d5bfb8da0e9c00a6289
parent353244d8b96767659e6c95c0c87dfe4372fe8c12
vhost-vdpa: let net_vhost_vdpa_init() returns NetClientState *

This patch switches to let net_vhost_vdpa_init() to return
NetClientState *. This is used for the callers to allocate multiqueue
NetClientState for multiqueue support.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20211020045600.16082-5-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c