head 1.3; access; symbols pkgsrc-2022Q2:1.2.0.18 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.16 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.14 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.12 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.10 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.8 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.6 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.4 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.0.12 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.14 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.10 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.8 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.6 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.4 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.2 pkgsrc-2018Q3-base:1.1; locks; strict; comment @# @; 1.3 date 2022.06.28.16.33.25; author bouyer; state dead; branches; next 1.2; commitid lkljtNX5KSYPgPJD; 1.2 date 2020.06.18.13.48.28; author plunky; state Exp; branches; next 1.1; commitid lmv24o97sRBW8IcC; 1.1 date 2018.07.24.13.40.11; author bouyer; state Exp; branches; next ; commitid QjVUWJGQIz5tqoLA; desc @@ 1.3 log @Remove xenkernel411 and xenkernel411, they're EOL upstream @ text @$NetBSD: patch-tools_hotplug_NetBSD_vif-ip,v 1.2 2020/06/18 13:48:28 plunky Exp $ --- tools/hotplug/NetBSD/vif-ip.orig 2019-11-29 09:15:18.000000000 +0000 +++ tools/hotplug/NetBSD/vif-ip @@@@ -23,7 +23,10 @@@@ case $xstatus in xip=$(xenstore-read "$xpath/ip") 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 $xip up xenstore-write $xpath/hotplug-status connected exit 0 @ 1.2 log @remove redundant command. @ text @d1 1 a1 1 $NetBSD: patch-tools_hotplug_NetBSD_vif-ip,v 1.1 2018/07/24 13:40:11 bouyer Exp $ @ 1.1 log @Add Xen 4.11.0 packages. 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. @ text @d1 1 a1 1 $NetBSD: patch-tools_hotplug_NetBSD_vif-ip,v 1.1 2017/03/30 09:15:10 bouyer Exp $ d3 4 a6 3 --- tools/hotplug/NetBSD/vif-ip.orig 2015-01-12 17:53:24.000000000 +0100 +++ tools/hotplug/NetBSD/vif-ip 2015-01-19 13:16:37.000000000 +0100 @@@@ -24,6 +24,10 @@@@ d9 1 a9 1 iface=$(xenstore-read "$xpath/vifname") @