;/*++
;
;Copyright (c) 2015-2019 Red Hat Inc.
;
;
;Module Name:
;    pvpanic.inf
;
;Abstract:
;
;Installation Notes:
;    Using Devcon: Type "devcon install pvpanic.inf ACPI\QEMU0001" to install
;
;--*/

[Version]
Signature       = "$WINDOWS NT$"
Class           = System
ClassGuid       = {4d36e97d-e325-11ce-bfc1-08002be10318}
Provider        = %VENDOR%
DriverVer = 04/12/2019,61.77.104.17100
CatalogFile     = pvpanic.cat
PnpLockdown     = 1

[DestinationDirs]
DefaultDestDir = 12
PVPanic_Device_CoInstaller_CopyFiles = 11

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
pvpanic.sys = 1,,
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

; ---------------
; Install Section
; ---------------

[Manufacturer]
%VENDOR% = PVPanic,NTx86.6.1

[PVPanic.NTx86.6.1]
%PVPanic.DeviceDesc% = PVPanic_Device, ACPI\QEMU0001

[PVPanic_Device.NT]
CopyFiles = PVPanic_CopyFiles

[PVPanic_CopyFiles]
pvpanic.sys

; --------------------
; Service Installation
; --------------------

[PVPanic_Device.NT.Services]
AddService = PVPanic,0x00000002,PVPanic_Service_Install

[PVPanic_Service_Install]
DisplayName    = %PVPanic.Service%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\pvpanic.sys
LoadOrderGroup = Extended Base

; ----------------
; WDF Installation
; ----------------

[PVPanic_Device.NT.CoInstallers]
AddReg=PVPanic_Device_CoInstaller_AddReg
CopyFiles=PVPanic_Device_CoInstaller_CopyFiles

[PVPanic_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[PVPanic_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[PVPanic_Device.NT.Wdf]
KmdfService = PVPanic, PVPanic_wdfsect

[PVPanic_wdfsect]
KmdfLibraryVersion = 1.9

[Strings]
VENDOR = "Red Hat, Inc."
DiskName            = "QEMU PVPanic Installation Disk"
PVPanic.DeviceDesc  = "QEMU PVPanic Device"
PVPanic.Service     = "QEMU PVPanic Service"
