grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Colin Watson <cjwatson@ubuntu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [Xen-devel] pvgrub2 is merged
Date: Tue, 3 Dec 2013 17:27:28 +0000	[thread overview]
Message-ID: <20131203172728.GA3709@riva.ucam.org> (raw)
In-Reply-To: <1385977687.7108.11.camel@kazak.uk.xensource.com>

On Mon, Dec 02, 2013 at 09:48:07AM +0000, Ian Campbell wrote:
> On Fri, 2013-11-29 at 21:44 +0400, Andrey Borzenkov wrote:
> > В Fri, 29 Nov 2013 13:24:22 +0000
> > Colin Watson <cjwatson@ubuntu.com> пишет:
> > > Could anyone offer packaging advice for which ports should be built
> > > here?  Is it reasonable to assume that a 32-bit userspace only needs the
> > > 32-bit Xen port and a 64-bit userspace only needs the 64-bit Xen port,
> > > or is it possible that there could be cross-architecture combinations
> > > here?  Does the architecture of the GRUB port have to match the
> > > architecture of the Xen hypervisor?
> > 
> > I guess this question is better asked on xen-devel. Assuming we have 64
> > bit dom0 and try to boot 32 bit domU. Is it possible to start with
> > loading 64 bit grub that loads 32 bit kernel and jumps to it? If yes
> > (and in other direction too) situation becomes relatively simple.
> 
> AIUI it is not in general possible for a 32-bit PV guest to convert
> itself to 64-bit or vice versa, which is essentially what would have to
> happen to boot the other type of kernel. So once you have selected the
> grub binary to use it cannot boot the other type of kernel. (Yes, this
> is an annoying technical restriction...)
> 
> It is however possible to run 32-bit and 64-bit guests on a 32-bit dom0
> with a 64-bit underlying hypervisor. It is also possible to run both
> types of guest on a 64-bit kernel and 64-bit underlying hypervisor.
> 
> So, for packaging purposes it would be best to provide both 32- and
> 64-bit grub binaries for both 32- and 64-bit userspace.

Thanks for the feedback.

I'm inclined, then, to just ship both in the same grub-xen binary
package (actually the pattern is grub-xen{,-bin,-dbg} but never mind
that for now).  It's a bit different from the usual case since you might
well want to actively use both on the same system, and I don't think we
would get much out of the two ports being in separate packages.

-- 
Colin Watson                                       [cjwatson@ubuntu.com]


  parent reply	other threads:[~2013-12-03 17:27 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-09 20:52 pvgrub2 is merged Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-09 21:01 ` [Xen-devel] " Samuel Thibault
2013-11-10  4:47 ` Andrey Borzenkov
2013-11-11 11:51   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-13 19:06   ` [Xen-devel] " M A Young
2013-11-13 20:14     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14 12:27       ` M A Young
2013-11-14 17:03         ` M A Young
2013-11-14 17:32           ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14 18:48             ` M A Young
2013-11-14 18:57               ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14 18:59                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14 21:11                   ` M A Young
2013-11-14 21:43                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-25 15:56                       ` Fabio Fantoni
2013-11-25 19:35                         ` M A Young
2013-11-26 17:58                           ` Fabio Fantoni
2013-11-26 18:12                             ` Andrey Borzenkov
2013-11-26 19:16                               ` Andrew Cooper
2013-11-27 11:32                               ` Fabio Fantoni
2013-11-27 11:50                                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-27 15:59                                   ` Fabio Fantoni
2013-11-27 16:03                                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-27 16:24                                       ` Fabio Fantoni
2013-11-27 17:35                                         ` Andrey Borzenkov
2013-11-28 13:07                                           ` Fabio Fantoni
2013-11-28 14:05                                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-28 14:17                                               ` Fabio Fantoni
2013-11-29 11:28                                                 ` Fabio Fantoni
     [not found]                                                   ` <52987D7F.3050006@gmail.com>
     [not found]                                                     ` <52988F86.6050008@m2r.biz>
2013-12-03 10:31                                                       ` Fabio Fantoni
2013-12-03 10:33                                                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-03 11:22                                                           ` Fabio Fantoni
     [not found]                                                             ` <529DC07E.8000201@gmail.com>
     [not found]                                                               ` <529DE3FD.90002@m2r.biz>
2013-12-03 15:33                                                                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-03 16:16                                                                   ` Fabio Fantoni
2013-12-06 11:11                                                                     ` Fabio Fantoni
2013-12-06 11:32                                                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-06 14:44                                                                         ` Fabio Fantoni
2013-12-06 14:55                                                                           ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-06 15:22                                                                             ` Fabio Fantoni
2013-12-07 10:06                                                                               ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-09 10:06                                                                                 ` Fabio Fantoni
2013-12-17 10:44                                                                                   ` Fabio Fantoni
2013-12-17 11:03                                                                                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-17 13:11                                                                                       ` Fabio Fantoni
2013-12-17 13:32                                                                                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-17 13:55                                                                                           ` Fabio Fantoni
2013-12-17 14:08                                                                                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-17 14:10                                                                                               ` Fabio Fantoni
2013-12-17 14:35                                                                                                 ` Fabio Fantoni
2013-12-18 14:58                                                                                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-18 19:39                                                                                                     ` Stefano Stabellini
2013-12-18 20:20                                                                                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-19 11:54                                                                                                         ` Stefano Stabellini
2013-12-20 12:14                                                                                                           ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-01-06 12:23                                                                                                             ` Stefano Stabellini
2014-11-07 15:20                                                                                                             ` Stefano Stabellini
2013-12-17 11:59                                                                                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-05 15:50                                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-05 16:04                                                     ` Fabio Fantoni
2013-11-27 16:10                                     ` M A Young
2013-11-11 10:10 ` Ian Campbell
2013-11-11 11:54   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-11 12:06     ` Ian Campbell
2013-11-11 12:52       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14  9:48   ` Dario Faggioli
2013-11-13 16:36 ` Ian Campbell
2013-11-13 18:25   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14  8:37     ` Ian Campbell
2013-12-11 11:47       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-11 11:51         ` Ian Campbell
2013-12-11 11:54           ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-11 14:34             ` Dario Faggioli
2013-12-14 17:13             ` Leif Lindholm
2014-01-06 15:35           ` Lars Kurth
2013-11-29 13:24 ` Colin Watson
2013-11-29 17:44   ` Andrey Borzenkov
2013-11-29 18:16     ` Colin Watson
2013-12-02  9:48     ` [Xen-devel] " Ian Campbell
2013-12-02 10:37       ` Samuel Thibault
2013-12-02 10:46         ` Ian Campbell
2013-12-03 17:27       ` Colin Watson [this message]
2013-12-03 17:41         ` Ian Campbell
2013-11-30 10:36   ` Vladimir 'φ-coder/phcoder' Serbinenko

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=20131203172728.GA3709@riva.ucam.org \
    --to=cjwatson@ubuntu.com \
    --cc=grub-devel@gnu.org \
    --cc=xen-devel@lists.xen.org \
    /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;
as well as URLs for NNTP newsgroup(s).