summaryrefslogtreecommitdiffstats
path: root/kernel/include/xen/interface/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/xen/interface/sched.h')
-rw-r--r--kernel/include/xen/interface/sched.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/include/xen/interface/sched.h b/kernel/include/xen/interface/sched.h
index 9ce083960..f18490985 100644
--- a/kernel/include/xen/interface/sched.h
+++ b/kernel/include/xen/interface/sched.h
@@ -107,5 +107,13 @@ struct sched_watchdog {
#define SHUTDOWN_suspend 2 /* Clean up, save suspend info, kill. */
#define SHUTDOWN_crash 3 /* Tell controller we've crashed. */
#define SHUTDOWN_watchdog 4 /* Restart because watchdog time expired. */
+/*
+ * Domain asked to perform 'soft reset' for it. The expected behavior is to
+ * reset internal Xen state for the domain returning it to the point where it
+ * was created but leaving the domain's memory contents and vCPU contexts
+ * intact. This will allow the domain to start over and set up all Xen specific
+ * interfaces again.
+ */
+#define SHUTDOWN_soft_reset 5
#endif /* __XEN_PUBLIC_SCHED_H__ */