summaryrefslogtreecommitdiff
path: root/include/xen/interface/sched.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 10:54:35 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 10:54:35 -0700
commit378102f364d3fba88b8162df13d639d620e9272c (patch)
tree4d08ab65dc1e99d47c1b53fb7d7640711ea46cf6 /include/xen/interface/sched.h
parent1a76eb5b04062cf2a32d5c7f0aefc9d92c3f986a (diff)
parent25cb62b76430a91cc6195f902e61c2cb84ade622 (diff)
Merge 4.3-rc5 into tty-next
We want the tty fixes and reverts in here as well so that people can properly test and use it. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/xen/interface/sched.h')
-rw-r--r--include/xen/interface/sched.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/xen/interface/sched.h b/include/xen/interface/sched.h
index 9ce083960a25..f18490985fc8 100644
--- a/include/xen/interface/sched.h
+++ b/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__ */