vdpa: add get_backend_features vdpa operation
authorEugenio Pérez <eperezma@redhat.com>
Fri, 9 Jun 2023 09:21:26 +0000 (11:21 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 3 Sep 2023 22:10:22 +0000 (18:10 -0400)
commitb63e5c70c39349ea5b9e7dbb604551902fc753fc
tree60105d6153280fe4dfa5ce68157b3b40a2681ddb
parent9f09fd6171fe8badef7875ab1642e67360bc5483
vdpa: add get_backend_features vdpa operation

This operation allow vdpa parent to expose its own backend feature bits.

Next patches introduce a feature not compatible with all parent drivers:
the ability to enable vq after driver_ok.  Each parent must declare if
it allows it or not.

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