Hannes Reinecke c9b6609b69 scsi: make io_timeout configurable
The current code sets an infinite timeout on SG_IO requests,
causing the guest to stall if the host experiences a frame
loss.
This patch adds an 'io_timeout' parameter for SCSIDevice to
make the SG_IO timeout configurable, and also shortens the
default timeout to 30 seconds to avoid infinite stalls.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Message-Id: <20201116183114.55703-3-hare@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-02-25 14:14:32 +01:00
..
2021-01-12 21:19:02 +00:00
2020-10-27 11:10:44 +00:00
2020-12-10 17:16:44 +01:00
2021-02-11 11:50:14 +00:00
2021-02-16 17:15:39 +01:00
2020-09-22 21:11:10 +01:00
2021-01-19 10:20:29 +11:00
2021-02-21 18:41:04 +01:00
2021-02-20 12:36:19 +01:00
2021-02-10 15:42:20 +00:00
2021-02-25 14:14:32 +01:00
2021-02-21 12:12:18 +00:00
2021-02-11 11:50:14 +00:00
2020-12-15 12:53:13 -05:00
2021-01-22 14:51:35 +01:00