[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH] Fix xenstore cleanup
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@xxxxxxxxxx> --- src/xenvif/fdo.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/xenvif/fdo.c b/src/xenvif/fdo.c index 0fc27ca..7d4d015 100644 --- a/src/xenvif/fdo.c +++ b/src/xenvif/fdo.c @@ -1345,11 +1345,19 @@ __FdoD0ToD3( 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"); } @@ -1516,8 +1524,6 @@ FdoD0ToD3( KeLowerIrql(Irql); - FdoClearDistribution(Fdo); - Trace("<====\n"); } -- 2.1.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |