All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] clarify SHUTDOWN_suspend additional argument
@ 2014-05-08 15:43 Stefano Stabellini
  2014-05-08 15:53 ` Andrew Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Stefano Stabellini @ 2014-05-08 15:43 UTC (permalink / raw)
  To: xen-devel; +Cc: Stefano Stabellini, David Vrabel, Ian Campbell

Clarify the behaviour of SCHEDOP_shutdown: PV x86 guests need to pass a
third argument, that is unused on HVM and ARM guests.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

diff --git a/xen/include/public/sched.h b/xen/include/public/sched.h
index a30b11d..4000ac9 100644
--- a/xen/include/public/sched.h
+++ b/xen/include/public/sched.h
@@ -76,9 +76,10 @@
  * Halt execution of this domain (all VCPUs) and notify the system controller.
  * @arg == pointer to sched_shutdown_t structure.
  *
- * If the sched_shutdown_t reason is SHUTDOWN_suspend then this
- * hypercall takes an additional extra argument which should be the
- * MFN of the guest's start_info_t.
+ * If the sched_shutdown_t reason is SHUTDOWN_suspend then
+ * x86 PV guests must also set RDX (EDX for 32-bit guests) to the MFN
+ * of the guest's start info page.  RDX/EDX is the third hypercall
+ * argument.
  *
  * In addition, which reason is SHUTDOWN_suspend this hypercall
  * returns 1 if suspend was cancelled or the domain was merely

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-12 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 15:43 [PATCH v2] clarify SHUTDOWN_suspend additional argument Stefano Stabellini
2014-05-08 15:53 ` Andrew Cooper
2014-05-08 17:27   ` Stefano Stabellini
2014-05-12 12:30     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.