ia64/xen-unstable

changeset 6760:f5adc1aa61d8

Export backend device store path to hotplug script.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon Sep 12 19:45:54 2005 +0000 (2005-09-12)
parents f752e0c873a6
children 968541972a7c
files linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Mon Sep 12 12:32:20 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c	Mon Sep 12 19:45:54 2005 +0000
     1.3 @@ -166,6 +166,10 @@ static int xenbus_hotplug_backend(struct
     1.4  			    buffer, buffer_size, &length,
     1.5  			    "XENBUS_TYPE=%s", xdev->devicetype);
     1.6  
     1.7 +	add_hotplug_env_var(envp, num_envp, &i,
     1.8 +			    buffer, buffer_size, &length,
     1.9 +			    "XENBUS_PATH=%s", xdev->nodename);
    1.10 +
    1.11  	/* terminate, set to next free slot, shrink available space */
    1.12  	envp[i] = NULL;
    1.13  	envp = &envp[i];