Raphael Norwitz f047243938 vhost-user-scsi: reset the device if supported
If the vhost-user-scsi backend supports the VHOST_USER_F_RESET_DEVICE
protocol feature, then the device can be reset when requested.

If this feature is not supported, do not try a reset as this will send
a VHOST_USER_RESET_OWNER that the backend is not expecting,
potentially putting into an inoperable state.

Signed-off-by: David Vrabel <david.vrabel@nutanix.com>
Signed-off-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <1572385083-5254-3-git-send-email-raphael.norwitz@nutanix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-01-05 07:03:03 -05:00
..
2019-08-16 13:31:52 +02:00
2019-12-17 09:01:14 +01:00
2019-08-16 13:31:52 +02:00
2020-01-03 14:29:42 +00:00
2019-12-16 13:04:46 +01:00
2019-12-17 19:33:52 +01:00
2019-12-16 10:46:34 +00:00
2019-08-16 13:31:53 +02:00
2019-12-17 19:33:51 +01:00
2019-08-16 13:31:53 +02:00
2019-11-05 18:52:29 +01:00
2019-10-28 19:06:47 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-10-18 20:38:10 -07:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00