The distribution information is not cleared in the correct place and
cleanup of the hotplug feature flag is missing. This patch fixes both
issues.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
ASSERT3U(KeGetCurrentIrql(), ==, DISPATCH_LEVEL);
+ (VOID) XENBUS_STORE(Remove,
+ &Fdo->StoreInterface,
+ NULL,
+ "feature/hotplug",
+ "vif");
+
(VOID) XENBUS_STORE(WatchRemove,
&Fdo->StoreInterface,
Fdo->ScanWatch);
Fdo->ScanWatch = NULL;
+ FdoClearDistribution(Fdo);
+
Trace("<====\n");
}
KeLowerIrql(Irql);
- FdoClearDistribution(Fdo);
-
Trace("<====\n");
}