tools: update netbsd hotplug scripts
PATCH 1/1 tools: update netbsd hotplug scripts
Hi!
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 <[email protected]>
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
tools/hotplug/NetBSD/vif-bridge +1 -1
@@ -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
tools/hotplug/NetBSD/vif-ip +1 -1
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ian Jackson
AppliedChristoph Egger writes ("[Xen-devel] [PATCH] tools: update netbsd hotplug scripts"):
Quoted 4 lines
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
Applied, thanks.
Ian.