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] Fix network setup through hotplug on SUSE.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix network setup through hotplug on SUSE.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 Sep 2005 10:46:11 +0000
Delivery-date: Thu, 01 Sep 2005 10:44:42 +0000
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID af78c9d526e0b3502629fb0ef09064920157c0c5
# Parent  6bb68b0929765534666d822fb7e58889670ec08c
Fix network setup through hotplug on SUSE.
Move the hotplug script from /etc/hotplug.d/xen-backend/backend.hotplug
to /etc/hotplug/xen-backend.agent, which seems to be a more common place
for the script.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 6bb68b092976 -r af78c9d526e0 Makefile
--- a/Makefile  Thu Sep  1 10:38:57 2005
+++ b/Makefile  Thu Sep  1 10:45:50 2005
@@ -178,6 +178,8 @@
        rm -rf $(D)/usr/share/man/man1/xen*
        rm -rf $(D)/usr/share/man/man8/xen*
        rm -rf $(D)/usr/lib/xen
+       rm -rf $(D)/etc/hotplug.d/xen-backend
+       rm -rf $(D)/etc/hotplug/xen-backend.agent
 
 # Legacy targets for compatibility
 linux24:
diff -r 6bb68b092976 -r af78c9d526e0 tools/examples/Makefile
--- a/tools/examples/Makefile   Thu Sep  1 10:38:57 2005
+++ b/tools/examples/Makefile   Thu Sep  1 10:45:50 2005
@@ -27,8 +27,8 @@
 XEN_BOOT_DIR = /usr/lib/xen/boot
 XEN_BOOT = mem-map.sxp
 
-XEN_HOTPLUG_DIR = /etc/hotplug.d/xen-backend
-XEN_HOTPLUG_SCRIPTS = backend.hotplug
+XEN_HOTPLUG_DIR = /etc/hotplug
+XEN_HOTPLUG_SCRIPTS = xen-backend.agent
 
 all: 
 build:
diff -r 6bb68b092976 -r af78c9d526e0 tools/examples/xen-backend.agent
--- /dev/null   Thu Sep  1 10:38:57 2005
+++ b/tools/examples/xen-backend.agent  Thu Sep  1 10:45:50 2005
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+#DEVPATH=/devices/xen-backend/vif-1-0
+#ACTION=add
+
+PATH=/etc/xen/scripts:$PATH
+
+DEV=$(basename "$DEVPATH")
+case "$ACTION" in
+  add)
+    case "$DEV" in
+      vif-*)
+        vif=$(echo "$DEV" | sed 's/-\([0-9]*\)-\([0-9]*\)/\1.\2/')
+        vif-bridge up domain=unknown vif="$vif" mac=fe:ff:ff:ff:ff:ff 
bridge=xen-br0 >/dev/null 2>&1
+        ;;
+    esac
+    ;;
+  remove)
+    ;;
+esac
+
diff -r 6bb68b092976 -r af78c9d526e0 tools/examples/backend.hotplug
--- a/tools/examples/backend.hotplug    Thu Sep  1 10:38:57 2005
+++ /dev/null   Thu Sep  1 10:45:50 2005
@@ -1,21 +0,0 @@
-#! /bin/sh
-
-#DEVPATH=/devices/xen-backend/vif-1-0
-#ACTION=add
-
-PATH=/etc/xen/scripts:$PATH
-
-DEV=$(basename "$DEVPATH")
-case "$ACTION" in
-  add)
-    case "$DEV" in
-      vif-*)
-        vif=$(echo "$DEV" | sed 's/-\([0-9]*\)-\([0-9]*\)/\1.\2/')
-        vif-bridge up domain=unknown vif="$vif" mac=fe:ff:ff:ff:ff:ff 
bridge=xen-br0 >/dev/null 2>&1
-        ;;
-    esac
-    ;;
-  remove)
-    ;;
-esac
-

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix network setup through hotplug on SUSE., Xen patchbot -unstable <=