From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VlP3l-0007Fu-KN for mharc-grub-devel@gnu.org; Tue, 26 Nov 2013 15:16:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlO7S-00016e-Nl for grub-devel@gnu.org; Tue, 26 Nov 2013 14:16:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlO7N-0004iW-NN for grub-devel@gnu.org; Tue, 26 Nov 2013 14:16:22 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:23224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlO7N-0004hx-JX for grub-devel@gnu.org; Tue, 26 Nov 2013 14:16:17 -0500 X-IronPort-AV: E=Sophos;i="4.93,776,1378857600"; d="scan'208";a="75960871" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 26 Nov 2013 19:16:15 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.2.342.4; Tue, 26 Nov 2013 14:16:14 -0500 Received: from andrewcoop.uk.xensource.com ([10.80.2.18]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1VlO7K-0002L4-9k; Tue, 26 Nov 2013 19:16:14 +0000 Message-ID: <5294F37D.805@citrix.com> Date: Tue, 26 Nov 2013 19:16:13 +0000 From: Andrew Cooper User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 MIME-Version: 1.0 To: Andrey Borzenkov Subject: Re: [Xen-devel] pvgrub2 is merged References: <527EA084.6000706@gmail.com> <20131110084753.540b0107@opensuse.site> <5283DD8F.5080103@gmail.com> <52850918.1040406@gmail.com> <52851D28.1090905@gmail.com> <52851D77.6060203@gmail.com> <5285440B.2040301@gmail.com> <5293733B.3090604@m2r.biz> <5294E157.90708@m2r.biz> <20131126221221.3fe316e3@opensuse.site> In-Reply-To: <20131126221221.3fe316e3@opensuse.site> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-DLP: MIA1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.165.176.63 X-Mailman-Approved-At: Tue, 26 Nov 2013 15:16:35 -0500 Cc: M A Young , The development of GNU GRUB , fabio.fantoni@m2r.biz, "xen-devel@lists.xen.org" , =?UTF-8?B?VmxhZGltaQ==?= =?UTF-8?B?ciAnz4YtY29kZXIvcGhjb2RlcicgU2VyYmluZW5rbw==?= 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: Tue, 26 Nov 2013 19:16:27 -0000 On 26/11/13 18:12, Andrey Borzenkov wrote: > В Tue, 26 Nov 2013 18:58:47 +0100 > Fabio Fantoni пишет: > >> I have also another question: >> Is possible specify multiple path where search the grub.cfg for support >> all mainly distributions and add a custom cfg path support taking it >> from arguments? >> > You can do something like > > if search --set root --file /boot/grub2/grub.cfg ; then > configfile /boot/grub2/grub.cfg > elif search --set root --file /boot/grub/grub.cfg ; then > configfile /boot/grub/grub.cfg > elif ... > ... > fi > > If xen provides way to pass arguments to kernel, it sure could be > implemented as arguments to grub. Actually someone asked for a way to > pass arguments to grub on EFI, so this could share implementation. The way PV guests get a command line from the toolstack is via the start_info.cmd_line, which is up to 1024 bytes. This will be available to anything which gets its hand on the start info page. ~Andrew