635c6af9fc
Note that there is a bug in 4.11 (also present in recent 4.6 and 4.8) which causes an infrequent assert failure when running NetBSD PV guests. The root cause has not been found, but a workaround is inclued which doesn't seems to have ill effects. See xenkernel411/patches/patch-zz-bouyer for details.
16 lines
644 B
Text
16 lines
644 B
Text
$NetBSD: patch-tools_hotplug_NetBSD_vif-bridge,v 1.1 2018/07/24 13:40:11 bouyer Exp $
|
|
|
|
--- tools/hotplug/NetBSD/vif-bridge.orig 2015-01-12 17:53:24.000000000 +0100
|
|
+++ tools/hotplug/NetBSD/vif-bridge 2015-01-19 13:16:37.000000000 +0100
|
|
@@ -23,7 +23,10 @@
|
|
xbridge=$(xenstore-read "$xpath/bridge")
|
|
xfid=$(xenstore-read "$xpath/frontend-id")
|
|
xhandle=$(xenstore-read "$xpath/handle")
|
|
- iface=$(xenstore-read "$xpath/vifname")
|
|
+ iface=$(xenstore-read "$xpath/vifname") || true
|
|
+ if [ x${iface} = "x" ] ; then
|
|
+ iface=xvif$xfid.$xhandle
|
|
+ fi
|
|
ifconfig $iface up
|
|
brconfig $xbridge add $iface
|
|
xenstore-write $xpath/hotplug-status connected
|