Teach xc_save to use event-channel-based domain suspend if available.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jul 2008 11:00:38 +0000 (12:00 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jul 2008 11:00:38 +0000 (12:00 +0100)
commit17636f47a474af4e1da8275cd8bcf63c70643aef
treec6cd8dcd7cb0f34e833d23c19d5e508590ebc2dd
parent4539594d46f9d1ed1ad34f2662eea985839435a7
Teach xc_save to use event-channel-based domain suspend if available.
If the guest provides a suspend event channel through xenstore,
xc_save will use it in preference to the old xenstore-based method.

Xend is still informed when the domain has suspended so that it can
perform device migration in parallel with last-round migration.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
tools/python/xen/xend/XendCheckpoint.py
tools/xcutils/xc_save.c