[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH 2/4] Presence or absence of a PCI device determines the filter state...
...so no need to call DriverSetFilterState() for any other type. Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xenfilt/fdo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xenfilt/fdo.c b/src/xenfilt/fdo.c index b8cf424..9ba3619 100644 --- a/src/xenfilt/fdo.c +++ b/src/xenfilt/fdo.c @@ -387,7 +387,8 @@ __FdoSetEnumerated( { Fdo->Enumerated = TRUE; - DriverSetFilterState(); + if (Fdo->Type == XENFILT_EMULATED_OBJECT_TYPE_PCI) + DriverSetFilterState(); } BOOLEAN -- 2.5.3 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |