From: Gerd Hoffmann <kraxel@suse.de>
To: Mark Williamson <mark.williamson@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, Horms <horms@verge.net.au>
Subject: Re: Re: [PATCH] Xen Guest Kexec
Date: Thu, 23 Feb 2006 14:03:35 +0100 [thread overview]
Message-ID: <43FDB2A7.4070800@suse.de> (raw)
In-Reply-To: <200602231132.54206.mark.williamson@cl.cam.ac.uk>
Mark Williamson wrote:
> How are you planning to do domU kexec?
As close as possible to normal i386 kexec ...
> For domUs the major problem I found was:
> a) the existing kexec code doesn't understand pseudophysical memory
> b) we had no way (at the time) of resetting virtual devices - disconnecting
> cleanly and then reconnecting again
> c) creating a start-of-day environment for the reboot kernel duplicates a load
> of code that's already in the domain builder
Dis- and reconnecting should be ok by now I guess. I expect the paging
setup being the most tricky part: First because the pseudophysical
memory (probably not a major issue though). Second because unlike i386
kexec we'll have to run with paging enabled all the time ...
My plan is to first make xenlinux kernels work with correct ELF headers
(patches on the list last days ;), then make kexec userspace work
(unmodified if possible), last step the in-kernel stuff which performs
the actual kexec ...
> For dom0 kexec, I thought the best approach would be to port the existing
> Linux kexec machinery to Xen (should be quite straightforward - just the part
> which copies the kernel image to the correct place, switches off paging,
> jumps into the new kernel). Then the dom0 kexec code would make a hypercall
> after closing its devices, rather than trying to execute that code itself.
Right now linux kexec depends on the new kernel having a different
physical (and virtual) start address, so taking the very same approach
likely doesn't work.
cheers,
Gerd
--
Gerd 'just married' Hoffmann <kraxel@suse.de>
I'm the hacker formerly known as Gerd Knorr.
http://www.suse.de/~kraxel/just-married.jpeg
next prev parent reply other threads:[~2006-02-23 13:03 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-07 17:16 [PATCH] Xen Guest Kexec Mark Williamson
2005-07-08 8:59 ` [Fastboot] " Eric W. Biederman
2005-07-08 14:35 ` Mark Williamson
2005-07-08 17:35 ` Mark Williamson
2006-02-23 10:52 ` Horms
2006-02-23 11:22 ` Gerd Hoffmann
2006-02-23 11:32 ` Mark Williamson
2006-02-23 13:03 ` Gerd Hoffmann [this message]
2006-02-23 14:49 ` Mark Williamson
2006-02-24 14:35 ` Gerd Hoffmann
2006-02-27 14:29 ` Mark Williamson
2006-02-27 15:39 ` Gerd Hoffmann
2006-02-23 11:36 ` Mark Williamson
2006-02-27 3:32 ` Horms
2006-02-27 14:58 ` Mark Williamson
-- strict thread matches above, loose matches on Subject: below --
2006-02-26 22:49 Ian Pratt
2006-02-27 7:10 ` Keir Fraser
2006-02-27 15:34 ` Gerd Hoffmann
2006-02-27 16:19 ` Keir Fraser
2006-03-01 12:09 ` Gerd Hoffmann
2006-03-01 14:10 ` Gerd Hoffmann
2006-03-01 15:03 ` Keir Fraser
2006-03-01 17:35 ` Keir Fraser
2006-03-02 9:16 ` Gerd Hoffmann
2006-03-02 9:43 ` Keir Fraser
2006-03-02 11:34 ` Gerd Hoffmann
2006-03-02 11:55 ` Keir Fraser
2006-03-02 16:36 ` Gerd Hoffmann
2006-03-02 16:48 ` Keir Fraser
2006-03-03 8:39 ` Gerd Hoffmann
2006-03-03 9:14 ` Keir Fraser
2006-03-03 9:35 ` Keir Fraser
2006-03-03 11:19 ` Gerd Hoffmann
2006-03-06 14:15 ` Gerd Hoffmann
2006-03-06 16:04 ` Michael Vrable
2006-03-07 13:06 ` Gerd Hoffmann
2006-03-07 13:42 ` Keir Fraser
2006-03-07 14:43 ` Gerd Hoffmann
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=43FDB2A7.4070800@suse.de \
--to=kraxel@suse.de \
--cc=horms@verge.net.au \
--cc=mark.williamson@cl.cam.ac.uk \
--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.