vdpa: add VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK flag
authorEugenio Pérez <eperezma@redhat.com>
Fri, 9 Jun 2023 09:21:24 +0000 (11:21 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 3 Sep 2023 22:10:22 +0000 (18:10 -0400)
commit8b59b4da9b56ce2ec2dc7dc3ae544405553c2de0
treef02ea315503ba06fa65fd7a679a4ade01ddf7d76
parentc1081002bfeeba54204d37000a8c43b2015b6eda
vdpa: add VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK flag

This feature flag allows the driver enabling virtqueues both before and
after DRIVER_OK.

This is needed for software assisted live migration, so userland can
restore the device status in devices with control virtqueue before the
dataplane is enabled.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Shannon Nelson <shannon.nelson@amd.com>
Message-Id: <20230609092127.170673-2-eperezma@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/uapi/linux/vhost_types.h