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-02-05 08:52:59 -05:00
2021-01-12 21:19:02 +00:00
2021-02-16 13:49:28 +00:00
2020-12-18 15:20:17 -05:00
2020-10-27 11:10:44 +00:00
2021-02-18 08:19:12 +00:00
2020-12-10 17:16:44 +01:00
2021-02-11 11:50:14 +00:00
2020-10-27 11:10:32 +00:00
2021-02-16 14:12:54 +00:00
2021-02-16 17:15:39 +01:00
2020-11-15 17:04:40 +01:00
2020-09-22 21:11:10 +01:00
2021-01-19 10:20:29 +11:00
2021-02-21 19:42:34 +01:00
2020-09-30 19:11:36 +02:00
2021-01-19 09:11:52 +01:00
2021-02-05 08:52:59 -05:00
2021-02-21 18:41:04 +01:00
2021-02-20 12:36:19 +01:00
2020-12-10 11:30:44 +00:00
2020-12-08 13:48:57 -05:00
2021-02-21 19:42:34 +01:00
2021-02-10 15:42:20 +00:00
2021-02-10 10:43:50 +11:00
2021-02-10 09:23:28 +00:00
2021-01-16 14:34:46 -08:00
2020-10-18 16:21:42 +01:00
2021-02-08 16:57:38 +11:00
2021-02-25 14:14:32 +01:00
2021-02-21 12:12:18 +00:00
2020-11-15 16:38:03 +01:00
2021-01-06 11:41:37 +00:00
2021-02-11 11:50:14 +00:00
2021-01-29 15:54:44 +00:00
2020-12-15 12:04:30 +00:00
2020-11-23 10:05:58 -07:00
2021-02-04 15:58:54 +01:00
2021-01-29 15:54:44 +00:00
2020-12-15 12:53:13 -05:00
2021-02-08 16:57:38 +11:00
2021-01-29 15:54:42 +00:00
2020-12-15 12:04:30 +00:00
2020-11-15 17:04:40 +01:00
2020-11-15 17:04:40 +01:00
2021-01-29 15:54:42 +00:00
2020-12-15 12:51:52 -05:00
2020-12-18 15:20:17 -05:00
2020-12-18 15:20:18 -05:00
2020-12-10 12:15:04 -05:00
2021-01-22 14:51:35 +01:00