[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Export backend device store path to hotplug script.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID f5adc1aa61d8787f3984103d2898be0b12937451
# Parent  f752e0c873a6da1d7779096ff954a24d443bbdf2
Export backend device store path to hotplug script.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r f752e0c873a6 -r f5adc1aa61d8 
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Mon Sep 12 
12:32:20 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Mon Sep 12 
19:45:54 2005
@@ -166,6 +166,10 @@
                            buffer, buffer_size, &length,
                            "XENBUS_TYPE=%s", xdev->devicetype);
 
+       add_hotplug_env_var(envp, num_envp, &i,
+                           buffer, buffer_size, &length,
+                           "XENBUS_PATH=%s", xdev->nodename);
+
        /* terminate, set to next free slot, shrink available space */
        envp[i] = NULL;
        envp = &envp[i];

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.