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

[Xen-devel] request for the hotplug scripts




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.

Cheers!
 Stefan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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