All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Rhett Aultman <jaultman@cise.ufl.edu>
To: xen-devel@lists.xensource.com
Subject: Domain suspend mechanism
Date: Thu, 10 Nov 2005 15:20:01 -0500	[thread overview]
Message-ID: <4373AB71.7060903@cise.ufl.edu> (raw)

Xen Developers:

My name is Rhett Aultman, and I'm a Ph.D student at the University of
Florida.  I'm taking a class which studies virtual machines, and I'm
using Xen for my term project.  Specifically, I'm attempting to
implement a "wake on LAN" feature in Xen, whereby a domain can be
suspended and later restarted if a network packet arrives and would be
delivered to the domain had it been running.

At the moment, I'm trying to understand how the domain suspension
mechanism works.  I am fairly sure the codebase I'm using is a recent
copy of Xen 3.0 unstable, if that helps.  I've found that most of the
process of saving a domain to an image file is in the libxc library
function called xc_linux_save( ) or something similar, but the actual
events going on during suspension do not yet make sense to me.  It seems
there's a utility function called suspend_and_state( ), and it seems to
suspend a target domain...but the only way it seems to do so is by
sending the string "suspend" via standard out.  How this works, and how
the target domain receives the message, I do not understand.

Additionally, if anyone here has any advice or opinions on how a "wake
on LAN" feature might be implemented, I'm all ears.  I've noted that the
Xen hypervisor doesn't manage much of the mechanics of a domain's saving
and restoration, so the process of bubbling up the information that a
packet has arrived for a suspended domain will be...interesting.  I'm a
total rookie with your codebase, so any advice you could provide would
help me.

--
Rhett.

                 reply	other threads:[~2005-11-10 20:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4373AB71.7060903@cise.ufl.edu \
    --to=jaultman@cise.ufl.edu \
    --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.