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] [xen-unstable] tools/hotplug/NetBSD: update netbsd scrip

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools/hotplug/NetBSD: update netbsd scripts (interface names)
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Mon, 17 Jan 2011 17:05:16 -0800
Delivery-date: Mon, 17 Jan 2011 17:06:57 -0800
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1295285484 0
# Node ID c281e9c58146c5f36c2748b00839db0e57ec462a
# Parent  f8d801e5573ee7bb4071ca3611f85b2f78036de6
tools/hotplug/NetBSD: update netbsd scripts (interface names)

sysctl fail due to the '.' in the interface name:

Jan 10 00:02:26 paris /netbsd: xvif108.0: could not attach sysctl nodes
Jan 10 00:02:57 paris /netbsd: sysctl_createv: sysctl_create(xvif108.0)
returned 22

The kernel driver have recently been fixed and attached patch updates
to the hotplug scripts accordingly.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/hotplug/NetBSD/vif-bridge |    2 +-
 tools/hotplug/NetBSD/vif-ip     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r f8d801e5573e -r c281e9c58146 tools/hotplug/NetBSD/vif-bridge
--- a/tools/hotplug/NetBSD/vif-bridge   Mon Jan 17 17:28:30 2011 +0000
+++ b/tools/hotplug/NetBSD/vif-bridge   Mon Jan 17 17:31:24 2011 +0000
@@ -23,7 +23,7 @@ 2)
        xbridge=$(xenstore-read "$xpath/bridge")
        xfid=$(xenstore-read "$xpath/frontend-id")
        xhandle=$(xenstore-read "$xpath/handle")
-       iface=xvif$xfid.$xhandle
+       iface=$(xenstore-read "$xpath/vifname")
        echo ifconfig $iface up
        ifconfig $iface up
        brconfig $xbridge add $iface
diff -r f8d801e5573e -r c281e9c58146 tools/hotplug/NetBSD/vif-ip
--- a/tools/hotplug/NetBSD/vif-ip       Mon Jan 17 17:28:30 2011 +0000
+++ b/tools/hotplug/NetBSD/vif-ip       Mon Jan 17 17:31:24 2011 +0000
@@ -23,7 +23,7 @@ 2)
        xip=$(xenstore-read "$xpath/ip")
        xfid=$(xenstore-read "$xpath/frontend-id")
        xhandle=$(xenstore-read "$xpath/handle")
-       iface=xvif$xfid.$xhandle
+       iface=$(xenstore-read "$xpath/vifname")
        echo ifconfig $iface $xip up
        ifconfig $iface $xip up
        xenstore-write $xpath/hotplug-status connected

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools/hotplug/NetBSD: update netbsd scripts (interface names), Xen patchbot-unstable <=