[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH 2/2] Revert "Presence or absence of a PCI device determines the filter state..."


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Wed, 5 Feb 2020 16:52:37 +0000
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=owen.smith@xxxxxxxxxx; spf=Pass smtp.mailfrom=owen.smith@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Wed, 05 Feb 2020 16:53:16 +0000
  • Ironport-sdr: 217m5vfN0WjQr4KeVz/wjfsb8jbifmiHJtZWYCUTPik6kiHE4x2OZqBRDy/6dEMG8oODuyRJIl ECaI1ygugZQbdeZdVkMH5DXNitiFwSO5mbNnmCBmjNilLgLXnhPYnxc4pjyy6ovCPo/mxJ7FnC 1BImpEEAvHKvHrgyNIsYREh5+BTdMra8CUzuqmaUVfx+hMUArnNGbOiPgC4bvGnYnNdUFmvcxx vemnbV2UlYI1OjQ+7Yegk7Tlk2/oeQrJsV834z30lh1WW6yKji6u3loGn2lpqtwH93bKtZcriQ rGY=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

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@xxxxxxxxxx>
---
 src/xenfilt/fdo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/xenfilt/fdo.c b/src/xenfilt/fdo.c
index 9ba3619..b8cf424 100644
--- a/src/xenfilt/fdo.c
+++ b/src/xenfilt/fdo.c
@@ -387,8 +387,7 @@ __FdoSetEnumerated(
 {
     Fdo->Enumerated = TRUE;
 
-    if (Fdo->Type == XENFILT_EMULATED_OBJECT_TYPE_PCI)
-        DriverSetFilterState();
+    DriverSetFilterState();
 }
 
 BOOLEAN
-- 
2.16.2.windows.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.