From: Keir Fraser <keir@xensource.com>
To: Brendan Cully <brendan@cs.ubc.ca>, xen-devel@lists.xensource.com
Subject: Re: [PATCH 0 of 3] Enable domain checkpointing via xm save --checkpoint
Date: Tue, 27 Feb 2007 16:10:55 +0000 [thread overview]
Message-ID: <C20A088F.A3C3%keir@xensource.com> (raw)
In-Reply-To: <patchbomb.1172543793@ventoux.cs.ubc.ca>
Basically okay, but please create a new elfnote rather than adding a
feature. The feature stuff has kind of got a bit confused, but is meant to
indicate features provided by Xen to a particular guest. The feature maps in
the guest header indicate which Xen features it requires and/or supports.
This new flag has nothing to do with the hypervisor itself so I think it
belongs in its own elfnote (XEN_ELFNOTE_SUSPEND_CANCEL?). This can either be
a boolean (so no elfnote description bytes) or perhaps we should map it to a
long with value 1 for now (so we can add further save/restore revisions
later if we like).
Oh, also remember to add the elfnote to the x86/64 head-xen.S.
-- Keir
On 27/2/07 02:36, "Brendan Cully" <brendan@cs.ubc.ca> wrote:
> The attached patches create a --checkpoint flag for xm save:
>
> xc_domain_resume lets the caller alert the guest that it is being
> resumed. Callers should not do this unless they know the guest
> supports the operation.
>
> When xend wants to resume a domain, it checks for the suspend_cancel
> feature in the elfnotes it has recorded from domain build or
> resume. If the flag is present, it simply lets the guest handle
> resuming, otherwise it tears down and rebuilds the domain and lets the
> guest act as if it is resuming in a new domain.
>
> A new suspend_cancel feature is added to the kernel 'features'
> elfnote.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2007-02-27 16:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-27 2:36 [PATCH 0 of 3] Enable domain checkpointing via xm save --checkpoint Brendan Cully
2007-02-27 2:36 ` [PATCH 1 of 3] Let xend choose to do hard or soft domain resumption depending on Brendan Cully
2007-02-27 2:36 ` [PATCH 2 of 3] Add xm save -c/--checkpoint option Brendan Cully
2007-02-27 2:36 ` [PATCH 3 of 3] Add suspend_cancel flag to linux elf notes Brendan Cully
2007-02-27 16:10 ` Keir Fraser [this message]
2007-02-28 6:42 ` [PATCH 0 of 3] Enable domain checkpointing via xm save --checkpoint Brendan Cully
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C20A088F.A3C3%keir@xensource.com \
--to=keir@xensource.com \
--cc=brendan@cs.ubc.ca \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.