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

[win-pv-devel] Patch for Unexpected Initial States of XenVif


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Eytan Heidingsfeld <eytanh@xxxxxxxxx>
  • Date: Mon, 11 Jul 2016 17:05:52 +0300
  • Delivery-date: Mon, 11 Jul 2016 14:05:58 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

Hello,
I've noticed that the support for unexpected initial states that was added to support iscsi boot in commit: c9b6e56e7342a1bb31cfb79f28b6a00d05954006,

As there was quite a bit of refactoring around that area I've created a small patch that fixes the issue again,



diff --git a/src/xenvif/frontend.c b/src/xenvif/frontend.c
index 5a29736..aef6680 100644
--- a/src/xenvif/frontend.c
+++ b/src/xenvif/frontend.c
@@ -1521,6 +1521,11 @@ FrontendPrepare(
             FrontendSetXenbusState(Frontend,
                                    XenbusStateInitialising);
             break;
+
+ case XenbusStateConnected:
+ FrontendSetXenbusState(Frontend,
+ XenbusStateClosing);
+ break;
 
         case XenbusStateClosing:
             FrontendSetXenbusState(Frontend,
-- 
1.9.5.msysgit.0

Cheers,
Eytan
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://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®.