vhost: support PACKED when setting-getting vring_base
authorShannon Nelson <shannon.nelson@amd.com>
Mon, 24 Apr 2023 22:50:30 +0000 (15:50 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 9 Jun 2023 16:07:52 +0000 (12:07 -0400)
commit55d8122f5cd62d5aaa225d7167dcd14a44c850b9
treeb232ca51d26c34b343ffabbfa80f357b497af5cc
parent4b13cbef797048fbb525f8c635a5279e9d209d93
vhost: 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-3-shannon.nelson@amd.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vhost/vhost.c
drivers/vhost/vhost.h