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] Message unpacking fix.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Message unpacking fix.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Fri, 22 Apr 2005 16:10:34 +0000
Delivery-date: Fri, 13 May 2005 20:03:21 +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.5, 2005/04/22 17:10:34+01:00, mjw@xxxxxxxxxxxxxxxxxxx

        Message unpacking fix.
        Signed-off-by: Mike Wray <mike.wray@xxxxxx>



 netif.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


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:03:57 -04:00
+++ b/tools/python/xen/xend/server/netif.py     2005-05-13 16:03:57 -04:00
@@ -457,13 +457,14 @@
         return resp
 
     def recv_fe_interface_status(self, msg):
+        val = unpackMsg('netif_fe_interface_status_t', msg)
         vif = val['handle']
         dev = self.findDevice(vif)
         if dev:
             dev.reportStatus(resp=True)
         else:
             log.error('Received netif_fe_interface_status for unknown vif: 
dom=%d vif=%d',
-                      self.dom, vif)
+                      self.getDomain(), vif)
             msg = packMsg('netif_fe_interface_status_t',
                           { 'handle' : -1,
                             'status' : NETIF_INTERFACE_STATUS_CLOSED,
@@ -479,5 +480,5 @@
             dev.recv_fe_interface_connect(val)
         else:
             log.error('Received netif_fe_interface_connect for unknown vif: 
dom=%d vif=%d',
-                      self.dom, vif)
+                      self.getDomain(), vif)
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Message unpacking fix., BitKeeper Bot <=