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

[win-pv-devel] [PATCH] Remove erroneous code to re-acquire backend path on resume



Commit 765b7a6a added code to release and re-acquire the backend
path (and domid) on resume from suspend. That code falsely
assumes that the frontend is not in a closed state at the time.
It's also not clear why it was added in the first place so
this patch removes it again, as it causes a BSOD when the
frontend is in the closed state.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xenvif/frontend.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/xenvif/frontend.c b/src/xenvif/frontend.c
index e513790..9aa1d76 100644
--- a/src/xenvif/frontend.c
+++ b/src/xenvif/frontend.c
@@ -2240,12 +2240,6 @@ FrontendSuspendCallbackLate(
     )
 {
     PXENVIF_FRONTEND    Frontend = Argument;
-    NTSTATUS            status;
-
-    FrontendReleaseBackend(Frontend);
-
-    status = FrontendAcquireBackend(Frontend);
-    ASSERT(NT_SUCCESS(status));
 
     __FrontendSuspend(Frontend);
     __FrontendResume(Frontend);
-- 
2.1.1


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

 


Rackspace

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