WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix problem with netdevs not coming back on reboot.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix problem with netdevs not coming back on reboot.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Fri, 22 Apr 2005 16:34:06 +0000
Delivery-date: Fri, 13 May 2005 20:03:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1327.2.6, 2005/04/22 17:34:06+01:00, mjw@xxxxxxxxxxxxxxxxxxx

        Fix problem with netdevs not coming back on reboot.
        Signed-off-by: Mike Wray <mike.wray@xxxxxx>



 blkif.py |    3 ++-
 netif.py |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


diff -Nru a/tools/python/xen/xend/server/blkif.py 
b/tools/python/xen/xend/server/blkif.py
--- a/tools/python/xen/xend/server/blkif.py     2005-05-13 16:04:03 -04:00
+++ b/tools/python/xen/xend/server/blkif.py     2005-05-13 16:04:03 -04:00
@@ -103,10 +103,11 @@
         self.destroyed = False
         self.connected = False
         self.evtchn = None
-        self.status = BLKIF_INTERFACE_STATUS_DISCONNECTED
+        self.status = None
 
     def init(self, recreate=False, reboot=False):
         self.destroyed = False
+        self.status = BLKIF_INTERFACE_STATUS_DISCONNECTED
         self.frontendDomain = self.controller.getDomain()
         self.frontendChannel = self.controller.getChannel()
         cf = channel.channelFactory()
diff -Nru a/tools/python/xen/xend/server/netif.py 
b/tools/python/xen/xend/server/netif.py
--- a/tools/python/xen/xend/server/netif.py     2005-05-13 16:04:03 -04:00
+++ b/tools/python/xen/xend/server/netif.py     2005-05-13 16:04:03 -04:00
@@ -23,7 +23,7 @@
         Dev.__init__(self, controller, id, config, recreate=recreate)
         self.vif = int(self.id)
         self.evtchn = None
-        self.status = NETIF_INTERFACE_STATUS_DISCONNECTED
+        self.status = None
         self.frontendDomain = self.getDomain()
         self.frontendChannel = None
         self.backendDomain = None
@@ -40,6 +40,7 @@
 
     def init(self, recreate=False, reboot=False):
         self.destroyed = False
+        self.status = NETIF_INTERFACE_STATUS_DISCONNECTED
         self.frontendDomain = self.getDomain()
         self.frontendChannel = self.getChannel()
         cf = channel.channelFactory()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix problem with netdevs not coming back on reboot., BitKeeper Bot <=