vDPA/ifcvf: a vendor driver should not set _CONFIG_S_FAILED
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 26 May 2023 14:52:54 +0000 (22:52 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jun 2023 14:47:08 +0000 (10:47 -0400)
commit49a64c6dbcd3b8289e3b6f8e9a42049e23c243c1
tree462ef0ccc25aa1b7b8d65a80d53531e7304eba04
parent386a26208524dc9db5d6b01be4b8358a551dda42
vDPA/ifcvf: a vendor driver should not set _CONFIG_S_FAILED

VIRTIO_CONFIG_S_FAILED indicates the guest driver has given up
the device due to fatal errors. So it is the guest decision,
the vendor driver should not set this status to the device.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230526145254.39537-6-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c