Skip to content

Commit b5a5b47

Browse files
author
Martin Drab
committed
[viostor]: Registry tweak not to complete pending requests on bus reset
Signed-Off-By: Martin Drab <martin.drab@virtuozzo.com>
1 parent 6b09e98 commit b5a5b47

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

viostor/viostor.inx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ ErrorControl = %SERVICE_ERROR_NORMAL%
7676
ServiceBinary = %INX_PLATFORM_DRIVERS_DIR%\viostor.sys
7777
LoadOrderGroup = SCSI miniport
7878
AddReg = pnpsafe_pci_addreg
79+
AddReg = bus_reset_addreg
7980

8081
[scsi_inst.HW]
8182
AddReg = pnpsafe_pci_addreg_msix
@@ -93,6 +94,9 @@ HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 0x00000001
9394
HKR, "Parameters", "BusType", %REG_DWORD%, 0x00000001
9495
HKR, "Parameters", DmaRemappingCompatible,0x00010001,0
9596

97+
[bus_reset_addreg]
98+
HKR, "Parameters\Device", "VirtioActionOnReset", %REG_DWORD%, 0x00000001
99+
96100
[pnpsafe_pci_addreg_msix]
97101
HKR, "Interrupt Management",, 0x00000010
98102
HKR, "Interrupt Management\MessageSignaledInterruptProperties",, 0x00000010

0 commit comments

Comments
 (0)