All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 5] Make checkpointing backwards compatible with older kernels
@ 2007-01-12 22:03 Brendan Cully
  2007-01-12 22:03 ` [PATCH 1 of 5] Advertise resumability feature in guest kernel Brendan Cully
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Brendan Cully @ 2007-01-12 22:03 UTC (permalink / raw)
  To: xen-devel

This set of patches makes checkpointing backwards compatible with
older kernels. Checkpointable kernels now create a xenstore entry
called "control/feature-resumable" which xc save -c checks before
attempting to checkpoint a domain.

It also writes a new SIF_RESUMABLE flag into the suspend record,
which xc_linux_restore uses to decide whether it is safe to set the
hypercall return value. Although pre-checkpoint linux images ignore
the return value, I've heard that solaris bails out if the result is
anything but 0. Another possibly simpler strategy would be to flip the
return values, so 1 means the call is resuming in the source domain
and 0 means it is in a new domain and must reconnect. This is what
older kernels (that are only ever restored in a new domain) expect
anyway.

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

end of thread, other threads:[~2007-01-13  9:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12 22:03 [PATCH 0 of 5] Make checkpointing backwards compatible with older kernels Brendan Cully
2007-01-12 22:03 ` [PATCH 1 of 5] Advertise resumability feature in guest kernel Brendan Cully
2007-01-12 22:03 ` [PATCH 2 of 5] Disallow xm save -c unless the guest advertises that it is resumable Brendan Cully
2007-01-12 22:03 ` [PATCH 3 of 5] Add SIF_RESUMABLE flag to tell restore that a guest " Brendan Cully
2007-01-12 22:03 ` [PATCH 4 of 5] Set SIF_RESUMABLE flag in suspend Brendan Cully
2007-01-12 22:03 ` [PATCH 5 of 5] Do not set suspend return value unless SIF_RESUMABLE is set Brendan Cully
2007-01-13  9:28 ` [PATCH 0 of 5] Make checkpointing backwards compatible with older kernels Keir Fraser
2007-01-13  9:32 ` Keir Fraser

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.