win-pvdrivers

view xenvbd_scsiport/xenvbd.inx @ 1106:2d392ecdd366

Fix race is xenvbd causing 30 second freeze under high load
author James Harper <james.harper@bendigoit.com.au>
date Tue Nov 11 23:08:11 2014 +1100 (2014-11-11)
parents 2b8784b1a034
children
line source
1 [Version]
2 Signature="$WINDOWS NT$"
3 Class=SCSIAdapter
4 ClassGuid={4D36E97B-E325-11CE-BFC1-08002BE10318}
5 Provider=%XenGplPv%
6 CatalogFile="xenvbd.cat"
8 [DestinationDirs]
9 DefaultDestDir = 12
11 [ControlFlags]
12 ExcludeFromSelect=*
14 [Manufacturer]
15 %XenGplPv%=XenGplPv,NT$ARCH$
17 [XenGplPv.NT$ARCH$]
18 %XenVbd.DRVDESC%=XenVbd_Inst, XEN\VBD
20 [XenGplPv]
21 %XenVbd.DRVDESC%=XenVbd_Inst, XEN\VBD
23 [XenVbd_Inst.NT]
24 CopyFiles=XenVbd.CopyFiles
26 [XenVbd.CopyFiles]
27 xenvbd.sys,,0x00001000 ; COPYFLG_REPLACE_BOOT_FILE
28 xenvbdfilter.sys,,0x00001000 ; COPYFLG_REPLACE_BOOT_FILE
30 [XenVbd_Inst.NT.HW]
31 AddReg=XenVbd_HW_AddReg
33 [XenVbd_Inst.NT.Services]
34 AddService=XenVbd,2,XenVbd_Service, XenVbd_EventLog
35 AddService=XenVbdFilter,,XenVbdFilter_Service
37 [XenVbd_Service]
38 DisplayName = %XenVbd.SVCDESC%
39 ServiceType = 1
40 StartType = 0
41 ErrorControl = 1
42 LoadOrderGroup = System Bus Extender
43 ServiceBinary = %12%\xenvbd.sys
44 AddReg = XenVbd_Service_AddReg
46 [XenVbdFilter_Service]
47 DisplayName = %XenVbdFilter.SVCDESC%
48 ServiceType = 1
49 StartType = 0
50 ErrorControl = 1
51 LoadOrderGroup = System Bus Extender
52 ServiceBinary = %12%\xenvbdfilter.sys
53 AddReg = XenVbdFilter_Service_AddReg
55 [XenVbd_HW_AddReg]
56 HKR,,"UpperFilters", 0x00010000, "XenVbdFilter"
58 [XenVbd_Service_AddReg]
59 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
60 ; hide Qemu IDE in XenPCI
61 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "#vbd#"
62 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "VEN_8086&DEV_7010"
63 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "primary_ide_channel"
64 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "secondary_ide_channel"
65 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "*pnp0600"
66 ; tell Qemu to hide stuff
67 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "qemu_hide_flags", 0x00010008, %QEMU_UNPLUG_ALL_IDE_DISKS%
69 [XenVbdFilter_Service_AddReg]
70 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
72 [XenVbd_EventLog]
73 AddReg = XenVbd_EventLog_AddReg
75 [XenVbd_EventLog_AddReg]
76 HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\XenVbd.sys"
77 HKR,,TypesSupported,0x00010001,7
79 [SourceDisksFiles]
80 xenvbd.sys=1
81 xenvbdfilter.sys=1
83 [SourceDisksNames]
84 1 = %DISK_NAME%
86 [Strings]
87 XenGplPv = "Xen GPL PV Driver Developers"
88 XenVbd.DRVDESC = "Xen Block Device Driver"
89 XenVbd.SVCDESC = "Xen Block Device Driver"
90 XenVbdFilter.SVCDESC = "Xen Block Device Filter"
91 DISK_NAME = "Xen Block Device Driver Install Disk"
92 FLG_ADDREG_TYPE_DWORD = 0x00010001
93 QEMU_UNPLUG_ALL_IDE_DISKS = 1
94 QEMU_UNPLUG_ALL_NICS = 2
95 QEMU_UNPLUG_AUX_IDE_DISKS = 4