All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clarify SHUTDOWN_suspend additional argument
@ 2014-05-07 13:05 Stefano Stabellini
  2014-05-08 10:11 ` Ian Campbell
  2014-05-08 10:46 ` David Vrabel
  0 siblings, 2 replies; 7+ messages in thread
From: Stefano Stabellini @ 2014-05-07 13:05 UTC (permalink / raw)
  To: xen-devel; +Cc: Stefano Stabellini, David Vrabel, Ian Campbell

SCHEDOP_shutdown has a third argument that is unused on HVM and ARM
guests. Those guests pass 0 instead. Clarify the behaviour in the
hypercall description.

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..c170556 100644
--- a/xen/include/public/sched.h
+++ b/xen/include/public/sched.h
@@ -77,8 +77,9 @@
  * @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.
+ * hypercall takes an additional extra argument which should be:
+ *  - the MFN of the guest's start_info_t for x86 PV guests;
+ *  - 0 for x86 HVM guests and arm and arm64 guests.
  *
  * 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] 7+ messages in thread

end of thread, other threads:[~2014-05-08 15:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 13:05 [PATCH] clarify SHUTDOWN_suspend additional argument Stefano Stabellini
2014-05-08 10:11 ` Ian Campbell
2014-05-08 10:21   ` Andrew Cooper
2014-05-08 10:40     ` Ian Campbell
2014-05-08 10:47       ` Andrew Cooper
2014-05-08 10:46 ` David Vrabel
2014-05-08 15:39   ` Stefano Stabellini

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.