From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xv4e9-0005oy-NN for mharc-grub-devel@gnu.org; Sun, 30 Nov 2014 08:34:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv4e0-0005oS-P6 for grub-devel@gnu.org; Sun, 30 Nov 2014 08:34:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xv4dt-0003uj-QL for grub-devel@gnu.org; Sun, 30 Nov 2014 08:34:32 -0500 Received: from [2001:41c8:1:628a::89] (port=57240 helo=benson.vm.bytemark.co.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv4dt-0003uf-KB for grub-devel@gnu.org; Sun, 30 Nov 2014 08:34:25 -0500 Received: from cpc22-cmbg14-2-0-cust482.5-4.cable.virginm.net ([86.6.25.227] helo=dagon.hellion.org.uk) by benson.vm.bytemark.co.uk with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xv4ds-0004gn-9O; Sun, 30 Nov 2014 13:34:24 +0000 Message-ID: <1417354463.2372.27.camel@hellion.org.uk> Subject: Re: [PATCH] grub-install: Include all decompressor modules in pvxen core image. From: Ian Campbell To: Andrei Borzenkov Date: Sun, 30 Nov 2014 13:34:23 +0000 In-Reply-To: <1417348279.2372.20.camel@hellion.org.uk> References: <1417163614-22703-1-git-send-email-ijc@hellion.org.uk> <20141128200952.31d2c6be@opensuse.site> <1417195555.23604.69.camel@hellion.org.uk> <20141130143101.0bb4298e@opensuse.site> <1417348279.2372.20.camel@hellion.org.uk> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.7-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:41c8:1:628a::89 Cc: 755256@bugs.debian.org, grub-devel@gnu.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2014 13:34:39 -0000 On Sun, 2014-11-30 at 11:51 +0000, Ian Campbell wrote: > On Sun, 2014-11-30 at 14:31 +0300, Andrei Borzenkov wrote: > > if [ x$grub_platform = xxen ]; then > > insmod xzio > > fi > > I think that could work. Indeed it does, so how about this instead of the patch at the start of the thread? >From f4199776eca80dfad4e9378a01ddb5866face3d7 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Sun, 30 Nov 2014 12:12:52 +0000 Subject: [PATCH] Arrange to insmod xzio when booting a kernel as a Xen guest This is needed in case the Linux kernel is compiled with CONFIG_KERNEL_XZ rather than CONFIG_KERNEL_GZ (gzio is already loaded by grub.cfg). Signed-off-by: Ian Campbell Patch-Name: insmod-xzio-on-xen.patch --- util/grub.d/10_linux.in | 1 + 1 file changed, 1 insertion(+) diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in index 79fa03a..86e35f2 100644 --- a/util/grub.d/10_linux.in +++ b/util/grub.d/10_linux.in @@ -150,6 +150,7 @@ linux_entry () fi echo " insmod gzio" | sed "s/^/$submenu_indentation/" + echo " if [ x\$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi" | sed "s/^/$submenu_indentation/" if [ x$dirname = x/ ]; then if [ -z "${prepare_root_cache}" ]; then -- 2.1.3