mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
able to detect the reason why a frontend is created, which can be either due to domain creation or a restore. The attached patch now puts this functionality into XenD and allows driver implementations in Xend to read the state and see whether a domain is currently being resumed or created and write this value into the xenstore for hotplug scripts to read it. The state of a domain being resumed is set when a XendDomainInfo object is created and reset at the end of the restore function. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>