From: Gerd Hoffmann <kraxel@suse.de>
To: Xen devel list <xen-devel@lists.xensource.com>
Subject: guest kexec / domU boot loader
Date: Fri, 10 Mar 2006 11:53:04 +0100 [thread overview]
Message-ID: <44115A90.2050303@suse.de> (raw)
Hi,
I have some more few question/problems wrt. kexec. They are not
strictly kexec-related, I think any complete control pass-over from one
kernel to another has them, i.e. if someone wants to combine mini-os and
grub to build a boot loader the same issues will come up:
Problem number one are the different "magic" pages: start info, shared
info, xenstore, console. Right now they are allocated at a random place
in guest physical memory (depending on kernel and initrd size). One
problem with that is that they are in the area where you might want to
load a kernel to. Sure you can map them somewhere else in virtual
space, but if you want to keep things very simple for a mini-kernel or
bootloader and create a simple virt==phys identity-mapping it's a nasty
special case.
Is it possible to move those magic pages to a different place in guest
physical memory? With and without auto_translated_physmap? I think
start_info is easy as it can be simply copied. shared_info isn't in the
guests physical memory so it isn't a issue I think. The console page
and the xenstore page are not so easy. I think without
auto_translated_physmap the guest can move them around by updating the
p2m and m2p tables. With auto_translated_physmap I see no obvious way
to do that though. Hints?
Problem two is passing the p2m table and handle page holes which might
be in guest physical memory, no idea yet how to handle that best.
Problem tree is that the current initial page table setup created by the
domain builders doesn't include a low memory identity mapping. Creating
such a mapping from a in-domain boot loader and then jump to the entry
point isn't trivial ...
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 reply other threads:[~2006-03-10 10:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-10 10:53 Gerd Hoffmann [this message]
2006-03-10 14:11 ` guest kexec / domU boot loader Jacob Gorm Hansen
2006-03-11 9:42 ` Keir Fraser
2006-03-15 11:40 ` Gerd Hoffmann
2006-03-15 11:51 ` Keir Fraser
2006-03-15 12:18 ` Gerd Hoffmann
2006-03-15 16:42 ` Keir Fraser
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=44115A90.2050303@suse.de \
--to=kraxel@suse.de \
--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.