[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XENBUS PATCH v3 9/9] Install Xenfilt with INF AddReg
With forced-activation Xenbus, there's little reason not to install Xenfilt. Add a new INF section to this effect, also conditioned on the FORCE_ACTIVATE environment variable. Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx> --- src/xenbus.inf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/xenbus.inf b/src/xenbus.inf index 81bfce2..2849843 100644 --- a/src/xenbus.inf +++ b/src/xenbus.inf @@ -114,6 +114,8 @@ ErrorControl=%SERVICE_ERROR_NORMAL% ServiceBinary=%12%\xenfilt.sys LoadOrderGroup="Boot Bus Extender" AddReg = XenFilt_Parameters +; Attention: XenFilt_Filters should only be used with forced-activation Xenbus +AddReg = XenFilt_Filters ; @FORCE_ACTIVATE@ [XenFilt_Parameters] HKR,"Parameters",,0x00000010 @@ -123,6 +125,10 @@ HKR,"Parameters","PCI\VEN_5853&DEV_0001",0x00010001,0x0001 ; @FORCE_ACTIVATE@ HKR,"Parameters","PCI\VEN_5853&DEV_0002",0x00010001,0x0002 ; @FORCE_ACTIVATE@ HKR,"Parameters","PCI\VEN_5853&DEV_C000",0x00010001,0x@VENDOR_DEVICE_ID@ ; @FORCE_ACTIVATE@ +[XenFilt_Filters] ; @FORCE_ACTIVATE@ +HKLM,%SystemClassKey%,"UpperFilters",0x00010008,"XENFILT" ; @FORCE_ACTIVATE@ +HKLM,%HDCClassKey%,"UpperFilters",0x00010008,"XENFILT" ; @FORCE_ACTIVATE@ + [Monitor_Service] DisplayName=%MonitorName% Description=%MonitorDesc% @@ -156,6 +162,8 @@ MonitorName="@PRODUCT_NAME@ PV Driver Monitor" MonitorDesc="Provides support for @PRODUCT_NAME@ PV drivers" RequestKey="SYSTEM\CurrentControlSet\Services\xenbus_monitor\Request" UnplugKey="SYSTEM\CurrentControlSet\Services\XEN\Unplug" +SystemClassKey="SYSTEM\CurrentControlSet\Control\Class\{4d36e97d-e325-11ce-bfc1-08002be10318}" +HDCClassKey="SYSTEM\CurrentControlSet\Control\Class\{4d36e96a-e325-11ce-bfc1-08002be10318}" DialogTitle="@PRODUCT_NAME@" DialogText="needs to restart the system to complete installation." DialogQuestion="Press 'Yes' to restart the system now or 'No' if you plan to restart the system later." -- 2.50.1.windows.1 Ngoc Tu Dinh | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |