All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: Brendan Cully <brendan@cs.ubc.ca>, Keir Fraser <keir@xensource.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH 3 of 7] Make suspend return 1 when a domain is resumed
Date: Fri, 19 Jan 2007 17:09:23 +0000	[thread overview]
Message-ID: <C1D6ABC3.7E8A%keir@xensource.com> (raw)
In-Reply-To: <20070119163651.GA11597@xanadu.kublai.com>

On 19/1/07 16:36, "Brendan Cully" <brendan@cs.ubc.ca> wrote:

> sorry, that was a bad comment. I'd been using "resume" to mean
> suspend-cancel and "reconnect" to mean run in a new domain. This patch
> is the backwards compatible version (it sets EAX to 1 in xc_linux_save
> rather than xc_linux_restore).

Oh, I see. Makes sense.

> I poked around the elfnote route for advertising kernel features to
> xend, and I have a feeling someone else should be designing the API
> for that - I only want very little out of it and would probably be
> shortsighted. For instance, it wasn't clear to me whether it'd be
> better to have an xc function that returns almost raw elfnotes (an
> array of (type, length, contents)) or only parsed, named elfnotes, or
> only features.

The xenctrl function that pulls out the elfnote info is going to need to
know about specific elfnotes, the type of contents, and have a sensible
strategy for stringifying them. I suggest (type, contents) pairs where type
is the elfnote type name, and contents is content-specific string. There are
lots of elfnotes so you only need worry about the elfnote you care about
(your new one) -- all I want is a framework where we can extract more
elfnotes as and when we need to.

 -- Keir

  reply	other threads:[~2007-01-19 17:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-15 19:05 [PATCH 0 of 7] guest checkpointing patches take 3 Brendan Cully
2007-01-15 19:05 ` [PATCH 1 of 7] Add resumedomain domctl to resume a domain after checkpoint Brendan Cully
2007-01-15 19:05 ` [PATCH 2 of 7] Add XS_RESUME command; export it to xend Brendan Cully
2007-01-15 19:05 ` [PATCH 3 of 7] Make suspend return 1 when a domain is resumed Brendan Cully
2007-01-19 15:32   ` Keir Fraser
2007-01-19 16:36     ` Brendan Cully
2007-01-19 17:09       ` Keir Fraser [this message]
2007-01-20  0:04     ` Brendan Cully
2007-01-20  0:22     ` Brendan Cully
2007-01-15 19:05 ` [PATCH 4 of 7] Make xen_suspend handle resume Brendan Cully
2007-01-15 19:05 ` [PATCH 5 of 7] Add xm save -c/--checkpoint option Brendan Cully
2007-01-15 19:05 ` [PATCH 6 of 7] Advertise resumability feature in guest kernel Brendan Cully
2007-01-15 19:05 ` [PATCH 7 of 7] Add unsuspend hook for resuming devices in the checkpoint parent 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=C1D6ABC3.7E8A%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.