vdpa: Negotiate _F_SUSPEND feature
commitd83b4945805d68f47742f70bba2ea4d5c9880dc8
authorEugenio Pérez <eperezma@redhat.com>
Fri, 3 Mar 2023 17:24:34 +0000 (3 18:24 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Mar 2023 17:38:59 +0000 (7 12:38 -0500)
tree2fd4ae0efef8ee1292303ea41dd5e9e4a10d4c08
parentb2765243863cf93d2bab1a1c2e14d6dc61981a6b
vdpa: Negotiate _F_SUSPEND feature

This is needed for qemu to know it can suspend the device to retrieve
its status and enable SVQ with it, so all the process is transparent to
the guest.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230303172445.1089785-4-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c