vhost_vdpa: support PACKED when setting-getting vring_base
authorShannon Nelson <shannon.nelson@amd.com>
Mon, 24 Apr 2023 22:50:31 +0000 (15:50 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 9 Jun 2023 16:08:04 +0000 (12:08 -0400)
commitbeee7fdb5b56a46415a4992d28dd4c2d06eb52df
treee99d8371f7eaaf05f6ec005bdf0e912de9120c1f
parent55d8122f5cd62d5aaa225d7167dcd14a44c850b9
vhost_vdpa: support PACKED when setting-getting vring_base

Use the right structs for PACKED or split vqs when setting and
getting the vring base.

Fixes: 4c8cf31885f6 ("vhost: introduce vDPA-based backend")
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Message-Id: <20230424225031.18947-4-shannon.nelson@amd.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vhost/vdpa.c