win-pvdrivers

view xenvbd/xenvbd.inx @ 816:4d1539643494

Add some debug for dump mode buffer alignment
Remove old coinstaller stuff from inf file
Fix build errors under Win2K build environment
Check for non-zero LUN
author James Harper <james.harper@bendigoit.com.au>
date Sun Oct 10 10:29:29 2010 +1100 (2010-10-10)
parents fc7dfb98cc7a
children 9c0c4210b778
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 [XenVbd_Inst.NT]
21 CopyFiles=XenVbd.CopyFiles
23 [XenVbd.CopyFiles]
24 xenvbd.sys,,0x00001000 ; COPYFLG_REPLACE_BOOT_FILE
26 [XenVbd_Inst.NT.Services]
27 AddService=XenVbd,2,XenVbd_Service, XenVbd_EventLog
29 [XenVbd_Service]
30 DisplayName = %XenVbd.SVCDESC%
31 ServiceType = 1
32 StartType = 0
33 ErrorControl = 1
34 LoadOrderGroup = System Bus Extender
35 ServiceBinary = %12%\xenvbd.sys
36 AddReg = XenVbd_Service_AddReg
38 [XenVbd_Service_AddReg]
39 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
40 ; hide Qemu IDE in XenPCI
41 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "#vbd#"
42 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "VEN_8086&DEV_7010"
43 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "primary_ide_channel"
44 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "secondary_ide_channel"
45 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "*pnp0600"
46 ; tell Qemu to hide stuff
47 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "qemu_hide_flags", 0x00010008, %QEMU_UNPLUG_ALL_IDE_DISKS%
49 [XenVbd_EventLog]
50 AddReg = XenVbd_EventLog_AddReg
52 [XenVbd_EventLog_AddReg]
53 HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\XenVbd.sys"
54 HKR,,TypesSupported,0x00010001,7
56 [SourceDisksFiles]
57 xenvbd.sys=1
59 [SourceDisksNames]
60 1 = %DISK_NAME%
62 [Strings]
63 XenGplPv = "Xen GPL PV Driver Developers"
64 XenVbd.SVCDESC = "Xen Block Device Driver"
65 XenVbd.DRVDESC = "Xen Block Device Driver"
66 DISK_NAME = "Xen Block Device Driver Install Disk"
67 FLG_ADDREG_TYPE_DWORD = 0x00010001
68 QEMU_UNPLUG_ALL_IDE_DISKS = 1
69 QEMU_UNPLUG_ALL_NICS = 2
70 QEMU_UNPLUG_AUX_IDE_DISKS = 4