diff options
author | Christoph Egger <Christoph.Egger@amd.com> | 2011-01-17 17:31:24 +0000 |
---|---|---|
committer | Christoph Egger <Christoph.Egger@amd.com> | 2011-01-17 17:31:24 +0000 |
commit | 95dca036a55cafc4cd89b0d2cf334944fa83ef04 (patch) | |
tree | da29c0d27a9714cf72f0f115e1d3b0729313aae6 /tools/hotplug | |
parent | 618a3fb38bcd860320faf8dbbe1b85c79fb34cb9 (diff) | |
download | xen-95dca036a55cafc4cd89b0d2cf334944fa83ef04.tar.gz xen-95dca036a55cafc4cd89b0d2cf334944fa83ef04.tar.bz2 xen-95dca036a55cafc4cd89b0d2cf334944fa83ef04.zip |
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@amd.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/hotplug')
-rw-r--r-- | tools/hotplug/NetBSD/vif-bridge | 2 | ||||
-rw-r--r-- | tools/hotplug/NetBSD/vif-ip | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/hotplug/NetBSD/vif-bridge b/tools/hotplug/NetBSD/vif-bridge index ecfef15012..16c4080bd6 100644 --- a/tools/hotplug/NetBSD/vif-bridge +++ b/tools/hotplug/NetBSD/vif-bridge @@ -23,7 +23,7 @@ case $xstatus in 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 --git a/tools/hotplug/NetBSD/vif-ip b/tools/hotplug/NetBSD/vif-ip index ca4fd60580..11c7373003 100644 --- a/tools/hotplug/NetBSD/vif-ip +++ b/tools/hotplug/NetBSD/vif-ip @@ -23,7 +23,7 @@ case $xstatus in 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 |