[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] request for the hotplug scripts
On 20 Nov 2005, at 23:42, Stefan Berger wrote: Hello!I have a question for the hotplug scripts that are used for the network, block and soon the TPM interface. Would it be possible if an environment variable 'REASON' was set that reflects whether a domain was 'creat'ed or 'resume'd after a suspend. This can be very helpful in initializing devices differently depending on the 'reason', such as a 'reset' if it is 'created' and not doing a 'reset' if it was resumed. I would try to add this 'REASON' variable myself - but where for example is the 'ACTION' being set? I see XENBUS_PATH and XENBUS_TYPE stem from xenbus_probe.c, but I could not find the origin of the 'ACTION' variable. ACTION is a standard hotplug env var, set up by the generic hotplug subsystem. You would add a new var such as REASON in the same place that XENBUS_TYPE/PATH are set. -- Keir Cheers! Stefan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |