diff options
author | Hannes Reinecke <hare@suse.de> | 2020-11-16 19:31:13 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-25 14:14:32 +0100 |
commit | c9b6609b69facad0cc5425d4fa7934c33d7f2e91 (patch) | |
tree | 4d0c65ff04c2c7819ef077950fd78ea6c280cf47 /hw/timer | |
parent | 106ad1f9c513f48b046e07e45406c339d16e4e2f (diff) |
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>
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions