OSDN Git Service

vhost-vdpa: open device fd in net_init_vhost_vdpa()
authorJason Wang <jasowang@redhat.com>
Wed, 20 Oct 2021 04:55:51 +0000 (12:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Oct 2021 08:44:05 +0000 (04:44 -0400)
commit7327813d17086fadabe3b27ba2d9737c8a33c5b0
treea6c034ba59273ab3566a7a88989d46a88efc3e8e
parent81d7228647e0bd17d4f4f0434b8ed410fe5f7497
vhost-vdpa: open device fd in net_init_vhost_vdpa()

This patch switches to open device fd in net_init_vhost_vpda(). This is
used to prepare for the multiqueue support.

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