xemu/include
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-18 07:48:22 -08:00
2021-02-25 14:14:32 +01:00
2020-12-10 17:33:17 -05:00
2021-01-28 08:08:45 +01:00
2021-02-18 07:48:22 -08:00
2021-02-08 16:57:37 +11:00
2020-12-10 12:15:18 -05:00