vdpa: make get_vq_group and set_group_asid optional
authorJason Wang <jasowang@redhat.com>
Thu, 9 Jun 2022 04:19:01 +0000 (12:19 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Jun 2022 04:26:35 +0000 (00:26 -0400)
commit00d1f546470d89e072dd3cda12b5c794341e7268
tree1aa067f50995425114f84706eaf2f526b2211eab
parentacb0055e187334554398a381a16de72f1a3d47bb
vdpa: make get_vq_group and set_group_asid optional

This patch makes get_vq_group and set_group_asid optional. This is
needed to unbreak the vDPA parent that doesn't support multiple
address spaces.

Cc: Gautam Dawar <gautam.dawar@xilinx.com>
Fixes: aaca8373c4b1 ("vhost-vdpa: support ASID based IOTLB API")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220609041901.2029-1-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vdpa.c
include/linux/vdpa.h