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-devel

[Xen-devel] [PATCH] Fix mixed up parameters to XendPIF.create_phy

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix mixed up parameters to XendPIF.create_phy
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Tue, 15 May 2007 06:56:16 -0400
Cc: ewan@xxxxxxxxxxxxx
Delivery-date: Tue, 15 May 2007 03:54:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

This fixes the mixup of the MAC and MTU parameters to the XendPIF.create_phy method.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>


diff -r 3ef0510e44d0 tools/python/xen/xend/XendNode.py
--- a/tools/python/xen/xend/XendNode.py                 Tue May 08 10:21:23 2007 +0100
+++ b/tools/python/xen/xend/XendNode.py                 Tue May 15 07:28:52 2007 -0400
@@ -195,7 +195,7 @@ class XendNode:
                        network_uuid, 'network')
                    if network.get_name_label() == bridge_name:
                        XendPIF.create_phy(network_uuid, name,
-                                           mtu, mac)
+                                           mac, mtu)
                        break
                else:
                    log.debug("Cannot find network for bridge %s "
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix mixed up parameters to XendPIF.create_phy, Stefan Berger <=