* Migrate linux to run on Xen
@ 2009-11-18 13:06 limin.hust
2009-11-20 3:59 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 2+ messages in thread
From: limin.hust @ 2009-11-18 13:06 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 462 bytes --]
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.
2009-11-18
limin.hust
[-- Attachment #1.2: Type: text/html, Size: 1242 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Migrate linux to run on Xen
2009-11-18 13:06 Migrate linux to run on Xen limin.hust
@ 2009-11-20 3:59 ` Jeremy Fitzhardinge
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2009-11-20 3:59 UTC (permalink / raw)
To: limin.hust; +Cc: xen-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-20 3:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 13:06 Migrate linux to run on Xen limin.hust
2009-11-20 3:59 ` Jeremy Fitzhardinge
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.