-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vioscsi: add logic to make reset mechanism configurable
We have seen many cases where we see vioscsi 129 reset events leading to a complete guest hang. While overall reset logic added in #684 likely mitigates the problem, we still see sporadic requests from customer where they see guest OSes hangs. This change will make it possible configure system to bugcheck and get a memory dump and the state of the VQs. By default, the behavior will remain intact - complete pending SRBs, but can be changed to either to do nothing or bugcheck the guest by setting the registry value: Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vioscsi\Parameters Name: VioscsiActionOnReset Type: REG_DWORD Values: 0x0 - Complete all pending SRBs (default) 0x1 - Do nothing (all unserved SRBs will be stored in memory) 0xdeaddead - Bugcheck on the reset event Signed-off-by: Sergey Bykov <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters