From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "limin.hust" <limin.hust@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Migrate linux to run on Xen
Date: Fri, 20 Nov 2009 11:59:59 +0800 [thread overview]
Message-ID: <4B06143F.4020408@goop.org> (raw)
In-Reply-To: <200911182106142810210@gmail.com>
On 11/18/09 21:06, limin.hust wrote:
> Recently i was studying the case, for example:
> (1)linux is running on the native hardware
> (2)suspend linux to ram
> (3)fast boot Xen with kexec system call(without hardware reset)
> (4)resume the linux from the suspended linux image.
>
> I have known how to do the fisrt three steps, but the last and i think
> is the hardest, i still can't figure out how to deal with it.
> Is there any suggestions to my case, i would really appreciate that.
This is difficult because Linux will get very confused if its apparent
hardware platform changes spontaneously under it. Assuming you start it
as an HVM domain, all the hardware will change from the native hosts to
the qemu emulated hardware (which is almost certainly not like your
physical hardware).
You might be able to get it to work by somehow arranging that the kernel
hot-unplug all its hardware before resume, then generating hot-plug
events for all the new hardware on resume, but I suspect that won't work
(for example, in-use can't be replaced on the fly like this).
J
prev parent reply other threads:[~2009-11-20 3:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 13:06 Migrate linux to run on Xen limin.hust
2009-11-20 3:59 ` Jeremy Fitzhardinge [this message]
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=4B06143F.4020408@goop.org \
--to=jeremy@goop.org \
--cc=limin.hust@gmail.com \
--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.