All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ian C. Blenke" <ian@blenke.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: bug-hurd@gnu.org, Ognyan Kulev <ogi@fmi.uni-sofia.bg>,
	Eldon Koyle <esk@cc.usu.edu>,
	Arun Prasannan <csuead@warwickcompsoc.co.uk>,
	"&#317; ubom??r Kundr??k" <lkundrak@skosi.org>,
	Andrew Yates <andrew@andrewyates.net>
Subject: Re: Xen vs. GRUB
Date: Mon, 08 Jan 2007 13:56:32 -0500	[thread overview]
Message-ID: <45A293E0.1060306@blenke.com> (raw)
In-Reply-To: <20070103145533.GA7508@bouh.residence.ens-lyon.fr>

Samuel Thibault wrote:

>Thomas Schwinge, le Wed 03 Jan 2007 13:09:25 +0100, a écrit :
>  
>
>>Is there a consensus that GRUB (or rather GRUB2) should be ported to
>>allow them to run in a Xen environment?
>>    
>>
>
>I'm not sure grub on Xen would be so useful, since people usually choose
>their operating system and parameters directly from Xen configuration
>files.  And I actually already contacted Xen people, and they agree that
>adding a multiboot-like module abstraction to Xen won't be hard and
>would be useful.
>  
>

Xen PV domUs can boot from "pygrub". This is the method used by JailTime 
and rPath to encapsulate kernels and initrd inside the disk images.

So there is already such a "port". Just specify a bootloader in your xen 
config:

    bootloader="/usr/lib/xen/bin/pygrub"

and it's easy enough to override the config file with your own boot entry:

    bootentry="hda1:/boot/vmlinuz-xen,/boot/initrd-xen"

Which does seem a bit silly when you can specify the same thing with 
root=, ramdisk=, and anything else with extra=. Alternatively, there are 
libvirt and xen-tools and other xen config abstrations outside of xm.

Xen HVM domUs, on the other hand, bootstrap whatever MBR is installed on 
the virtual disk. No changes needed here at all.

The next step is HVM with paravirt_ops/VMI, which might actually show up 
some day for Xen (not there yet). Guests would still run in an HVM jail 
but are aware of the hypervisor and don't need to interact with the QEMU 
provided virtual hardware (think PV drivers).

Also, kvm has paravirt_ops now, as of a couple of days ago (thanks to 
Ingo). With l-hype and kvm, xen is quickly becoming moot anyway.

How does this affect grub and other bootstrapping? We very well might be 
talking about paravirt_ops/VMI and/or PV drivers at some point in 
addition to vanilla int13 real mode devices (though the virtual BIOSes 
will likely take care of this anyway).

- Ian C. Blenke <ian@blenke.com>




  reply	other threads:[~2007-01-08 18:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060419-172735.sv33391.66041@savannah.gnu.org>
     [not found] ` <20070102-021104.sv13138.9176@savannah.gnu.org>
     [not found]   ` <20070102111049.GG25718@fencepost.gnu.org>
     [not found]     ` <20070102212114.GF4946@bouh.residence.ens-lyon.fr>
2007-01-03 12:09       ` Xen vs. GRUB Thomas Schwinge
2007-01-08 18:35         ` Samuel Thibault
2007-01-08 18:56           ` Ian C. Blenke [this message]
2007-01-09  2:07             ` Samuel Thibault
2007-01-26 18:46         ` Yoshinori K. Okuji
2007-02-04  6:34           ` Tristan Gingold

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=45A293E0.1060306@blenke.com \
    --to=ian@blenke.com \
    --cc=andrew@andrewyates.net \
    --cc=bug-hurd@gnu.org \
    --cc=csuead@warwickcompsoc.co.uk \
    --cc=esk@cc.usu.edu \
    --cc=grub-devel@gnu.org \
    --cc=lkundrak@skosi.org \
    --cc=ogi@fmi.uni-sofia.bg \
    /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.