view docs/xen-api/vm_lifecycle.dot @ 17965:14fd83fe71c3

Add facility to get notification of domain suspend by event channel.
This event channel will be notified when the domain transitions to the
suspended state, which can be much faster than raising VIRQ_DOM_EXC
and waiting for the notification to be propagated via xenstore.

No attempt is made here to prevent multiple subscribers (last one
wins), or to detect that the subscriber has gone away. Userspace tools
should take care.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jul 04 12:00:24 2008 +0100 (2008-07-04)
parents 666573856c59
line source
1 digraph g{
3 node [shape=box]; "powered down" paused running suspended crashed;
5 "powered down" -> paused [label="start(paused=true)"];
6 "powered down" -> running [label="start(paused=false)"];
7 running -> suspended [label="suspend"];
8 suspended -> running [label="resume(paused=false)"];
9 suspended -> paused [label="resume(paused=true)"];
10 paused -> suspended [label="suspend"];
11 paused -> running [label="resume"];
12 running -> "powered down" [label="cleanShutdown /\nhardShutdown"];
13 running -> paused [label="pause"];
14 running -> crashed [label="guest OS crash"]
15 crashed -> "powered down" [label="hardShutdown"]
17 }