]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commitdiff
Revert "Presence or absence of a PCI device determines the filter state..."
authorOwen Smith <owen.smith@citrix.com>
Wed, 5 Feb 2020 16:52:37 +0000 (16:52 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Thu, 20 Feb 2020 09:10:42 +0000 (09:10 +0000)
This reverts commit 5a0ebeb0f7ed766e6920ddae08b58b102a86e825.

When updating from v8.x to v9.x, XENFILT is removed from System and Hdc
class UpperFilter by the removal of the v8.x XenBus. When v9.x XenBus
loads, the filter state is not set, and XenBus will fail AddDevice
without re-adding XenFilt to the UpperFilters.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenfilt/fdo.c

index 9ba3619b8836f48627cbb27aade381a5f9fa81dd..b8cf4246e12c9a154093d1f092d60bff1eade3bf 100644 (file)
@@ -387,8 +387,7 @@ __FdoSetEnumerated(
 {
     Fdo->Enumerated = TRUE;
 
-    if (Fdo->Type == XENFILT_EMULATED_OBJECT_TYPE_PCI)
-        DriverSetFilterState();
+    DriverSetFilterState();
 }
 
 BOOLEAN