mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Williamson <mark.williamson@cl.cam.ac.uk>
To: "Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk>
Cc: "Carsten Otte" <cotte.de@gmail.com>,
	"Chris Wright" <chrisw@osdl.org>, "Andrew Morton" <akpm@osdl.org>,
	"Jeff Garzik" <jgarzik@pobox.com>,
	linux-kernel@vger.kernel.org, ian.pratt@cl.cam.ac.uk
Subject: Re: -mm -> 2.6.13 merge status
Date: Thu, 23 Jun 2005 14:37:10 +0100	[thread overview]
Message-ID: <200506231437.12046.mark.williamson@cl.cam.ac.uk> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D28236E@liverpoolst.ad.cl.cam.ac.uk>

> > > Xen is making similar noises w.r.t. using kexec for
> >
> > flexible bootloader.
> >
> > Oh cool, then we should look at what they're doing instead of
> > reinventing the wheel. Any pointer we can follow, or person
> > we would contact?

Right now, that would be me (hello!).

All going well - I should have Xen guests kexec-ing properly in the next day 
or so.  All the machinery is in place, so it's just a question of doing some 
plumbing.  nb. this is a separate issue to kexecing the whole host, which 
I'll probably look at later.

Carsten: can you tell me what you were planning for your bootloader?  Also, if 
you could point me at any docs regarding your current / proposed boot 
sequence that'd be really interesting.

Regarding our kexec-based bootloader:
* We call running virtual machines "domains".
* Under Xen, guests get built using a kernel specified in domain 0's (the 
"host") filesystem.  That implies that the user of the guest domain can't 
choose their kernel.
* To fix this we now have a bootloader than runs in domain 0, which can poke 
around in the guest's filesystem, find a menu.lst / grub.conf, then load the 
appropriate kernel.
* This provides the functionality the user wants but implies that programs in 
dom0 have to access the guest filesystem, which could be malicious.  We'd 
rather not have programs in dom0 trusting guests.
* The proposed solution is to initially run a "bootloader kernel", with a 
bootloader app on an initrd.  This will run in the guest itself, so all the 
filesystem accesses occur in an unprivileged virtual machine.
* The bootloader will cause a kexec to the new kernel.
* This fixes the isolation problem and immediately allows us to support all 
the random filesystems Linux supports ;-)

My current plan is that the bootloader app will act much like Grub and use 
Grub's config files.  It'll also be possible to use something more 
heavyweight, such as XenoBoot 
(http://www.cl.cam.ac.uk/Research/SRG/netos/xeno/xenoboot/).  It's possible 
that XenoBoot has some code we could use in the bootloader - I haven't 
looked.

Feel free to mail me offline.  If our goals are compatible, it'd be good to 
work together on this.

Cheers,
Mark

  reply	other threads:[~2005-06-23 13:46 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-23 13:20 Ian Pratt
2005-06-23 13:37 ` Mark Williamson [this message]
     [not found] <4hNoW-1yo-37@gated-at.bofh.it>
     [not found] ` <4hT1h-5V0-41@gated-at.bofh.it>
     [not found]   ` <4hXHv-1br-41@gated-at.bofh.it>
2005-06-22 14:40     ` Bodo Eggert
     [not found] <20050620235458.5b437274.akpm@osdl.org.suse.lists.linux.kernel>
2005-06-21 11:14 ` Andi Kleen
2005-06-21 18:44   ` Hans Reiser
2005-06-21 19:56     ` Andi Kleen
2005-06-21 20:21       ` Christoph Hellwig
2005-06-22  1:38       ` Hans Reiser
2005-06-22  1:57         ` Jeff Garzik
2005-06-22  1:57         ` Andi Kleen
2005-06-22  2:55           ` Hans Reiser
2005-06-22  3:01             ` Jeff Garzik
2005-06-22  8:09               ` Hans Reiser
2005-06-22  8:24                 ` Jeff Garzik
2005-06-23  6:22         ` Pekka Enberg
2005-06-23  7:42           ` Hans Reiser
2005-06-23  8:08             ` Pekka J Enberg
2005-06-23 13:10               ` Hans Reiser
2005-06-23 16:15             ` Vladimir Saveliev
2005-06-23 16:23               ` Olivier Galibert
2005-06-23 19:56                 ` Ross Biro
2005-06-23 17:17               ` Hans Reiser
2005-06-23 21:18                 ` Nikita Danilov
2005-06-23 18:37           ` Jeff Mahoney
2005-06-23 18:43             ` Andrew Morton
2005-06-23 19:29               ` Jeff Mahoney
2005-06-23 19:45                 ` Hans Reiser
2005-06-23 19:32               ` Jens Axboe
2005-06-25 16:46                 ` Pekka Enberg
2005-06-25 19:23                   ` Hans Reiser
2005-06-25 21:08                     ` Theodore Ts'o
2005-06-26  1:03                       ` Hans Reiser
2005-06-25 23:54                     ` Hubert Chan
2005-06-26 10:03                       ` Nikita Danilov
2005-06-27  7:24                   ` Jens Axboe
2005-06-27  7:28                     ` Andi Kleen
2005-06-27  7:49                       ` Pekka J Enberg
2005-06-27  8:19                         ` Jörn Engel
2005-06-27  8:20                         ` Andi Kleen
2005-06-23 19:24             ` Hans Reiser
2005-06-24  1:13             ` Hubert Chan
2005-06-26  0:45               ` Christian Trefzer
2005-06-26  1:13                 ` Hans Reiser
2005-06-26  2:23                   ` Christian Trefzer
  -- strict thread matches above, loose matches on Subject: below --
2005-06-21  6:54 Andrew Morton
2005-06-21 12:01 ` Andrey Panin
2005-06-21 12:35 ` Alan Cox
2005-06-21 13:07   ` Arjan van de Ven
2005-06-22 10:50     ` Erik Slagter
2005-06-21 12:43 ` Carsten Otte
2005-06-21 12:58 ` Jörn Engel
2005-06-21 14:08 ` Martin Hicks
2005-06-21 19:54   ` Andrew Morton
2005-06-21 20:00     ` Martin Hicks
2005-06-21 15:26 ` Jeff Garzik
2005-06-21 15:39   ` Robert Love
2005-06-21 19:22     ` Christoph Lameter
2005-06-21 19:38       ` Robert Love
2005-06-21 19:44         ` Christoph Lameter
2005-06-21 20:02         ` Zan Lynx
2005-06-21 20:06           ` Christoph Lameter
2005-06-21 20:07             ` Robert Love
2005-06-21 20:10               ` Christoph Lameter
2005-06-21 20:15                 ` Zan Lynx
2005-06-22  5:53                 ` Matthias Urlichs
2005-06-21 22:54             ` Alan Cox
2005-06-21 20:52           ` Stephen Hemminger
2005-06-21 22:45       ` Jeff Garzik
2005-06-21 23:30         ` Christoph Lameter
2005-06-21 23:39           ` Jeff Garzik
2005-06-22  6:19             ` Christoph Lameter
2005-06-21 15:43   ` Matt Porter
2005-06-21 19:41   ` randy_dunlap
2005-06-21 20:05   ` Hans Reiser
2005-06-21 20:24     ` Christoph Hellwig
2005-06-21 20:22   ` Andrew Morton
2005-06-21 20:56     ` Gerrit Huizenga
2005-06-21 21:04       ` Andrew Morton
2005-06-21 21:23         ` Gerrit Huizenga
2005-06-21 21:38         ` Arjan van de Ven
2005-06-22  6:33         ` Martin J. Bligh
2005-06-21 21:28     ` Carsten Otte
2005-06-22 23:32       ` Chris Wright
2005-06-23 13:04         ` Carsten Otte
2005-06-22 16:53     ` Eric W. Biederman
2005-06-22 20:52       ` Andrew Morton
2005-06-23  2:14         ` Eric W. Biederman
2005-06-24  4:06     ` Paul Jackson
2005-06-24  4:54       ` randy_dunlap
2005-06-21 15:50 ` Lee Revell
2005-06-21 18:56   ` Nish Aravamudan
2005-06-22 18:00     ` Nish Aravamudan
2005-06-21 20:32   ` Andrew Morton
2005-06-21 20:37     ` Lee Revell
2005-06-22  5:51 ` Christoph Hellwig
2005-06-27  9:06 ` Christoph Hellwig
2005-06-27 14:25   ` Vladimir Saveliev
2005-06-27 19:26     ` Christoph Hellwig
2005-06-27 19:44       ` Joel Becker
2005-06-27 20:26         ` Christoph Hellwig
2005-06-27 19:30 ` Christoph Hellwig
2005-06-27 20:37   ` Hans Reiser
2005-06-30 18:30     ` Vitaly Fertman
2005-06-27 20:19 ` Christoph Hellwig

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=200506231437.12046.mark.williamson@cl.cam.ac.uk \
    --to=mark.williamson@cl.cam.ac.uk \
    --cc=akpm@osdl.org \
    --cc=chrisw@osdl.org \
    --cc=cotte.de@gmail.com \
    --cc=ian.pratt@cl.cam.ac.uk \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®