diff options
author | Raphael Norwitz <raphael.norwitz@nutanix.com> | 2019-10-29 17:38:03 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-01-05 07:03:03 -0500 |
commit | f0472439383bb5bf5d760fb96e084beccbec03e4 (patch) | |
tree | ad3ec94f1316ffc86137d31d5d93d7e5794b0a5d /hw/scsi/mptsas.h | |
parent | d91d57e604edc128be302b60dabba6a34f0e0f0f (diff) | |
download | qemu-f0472439383bb5bf5d760fb96e084beccbec03e4.zip qemu-f0472439383bb5bf5d760fb96e084beccbec03e4.tar.gz qemu-f0472439383bb5bf5d760fb96e084beccbec03e4.tar.bz2 |
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>
Diffstat (limited to 'hw/scsi/mptsas.h')
0 files changed, 0 insertions, 0 deletions