vhost-vdpa: classify one time request
commit4d191cfdc7de958d06f821173f721c56bc131620
authorJason Wang <jasowang@redhat.com>
Wed, 20 Oct 2021 04:55:52 +0000 (20 12:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Oct 2021 08:44:05 +0000 (20 04:44 -0400)
tree061b8a46412d24f766357827d2732452327cb239
parent7327813d17086fadabe3b27ba2d9737c8a33c5b0
vhost-vdpa: classify one time request

Vhost-vdpa uses one device multiqueue queue (pairs) model. So we need
to classify the one time request (e.g SET_OWNER) and make sure those
request were only called once per device.

This is used for multiqueue support.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20211020045600.16082-3-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c
include/hw/virtio/vhost-vdpa.h