 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH 2/2] Avoid ASSERTion failure on VIF plug
 If the backend is not fast enough then it's possible that the frontend
code sees the backend in state Initialising rather than InitWait. This
causes an ASSERT to be hit.
This patch simply whitelists the Initialising state to avoid the problem.
Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xenvif/frontend.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/src/xenvif/frontend.c b/src/xenvif/frontend.c
index 7840cb7..5a29736 100644
--- a/src/xenvif/frontend.c
+++ b/src/xenvif/frontend.c
@@ -1527,6 +1527,7 @@ FrontendPrepare(
                                    XenbusStateClosed);
             break;
 
+        case XenbusStateInitialising:
         case XenbusStateInitWait:
             break;
 
-- 
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 |