]> git.baikalelectronics.ru Git - kernel.git/commit
vDPA: only report driver features if FEATURES_OK is set
authorZhu Lingshan <lingshan.zhu@intel.com>
Thu, 29 Sep 2022 01:45:51 +0000 (09:45 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 8 Oct 2022 00:00:42 +0000 (20:00 -0400)
commitea2c9cfdfd4bc66e079674ba0da42a64ade06968
tree4df764840eadd8fd8147c7eb9925c3216dbe5407
parent8fbee5822350f8d3672541da6327f55fcb9d3820
vDPA: only report driver features if FEATURES_OK is set

This commit reports driver features to user space
only after FEATURES_OK is features negotiation is done.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20220929014555.112323-3-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa.c