Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VfqG1-0002Hd-EM for mharc-grub-devel@gnu.org; Mon, 11 Nov 2013 07:06:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfqFv-00028x-Cr for grub-devel@gnu.org; Mon, 11 Nov 2013 07:06:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfqFq-0001yA-QW for grub-devel@gnu.org; Mon, 11 Nov 2013 07:06:11 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:27360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfqFq-0001y5-Ly for grub-devel@gnu.org; Mon, 11 Nov 2013 07:06:06 -0500 X-IronPort-AV: E=Sophos;i="4.93,676,1378857600"; d="scan'208";a="70538844" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 11 Nov 2013 12:06:05 +0000 Received: from LONPEX01CL01.citrite.net (10.30.203.101) by FTLPEX01CL03.citrite.net (10.13.107.80) with Microsoft SMTP Server (TLS) id 14.2.342.4; Mon, 11 Nov 2013 07:06:05 -0500 Received: from [10.80.2.80] (10.30.203.1) by LONPEX01CL01.citrite.net (10.30.203.101) with Microsoft SMTP Server id 14.2.342.4; Mon, 11 Nov 2013 12:06:03 +0000 Message-ID: <1384171563.8909.44.camel@kazak.uk.xensource.com> Subject: Re: [Xen-devel] pvgrub2 is merged From: Ian Campbell To: Vladimir =?UTF-8?Q?=27=CF=86-coder/phcoder=27?= Serbinenko Date: Mon, 11 Nov 2013 12:06:03 +0000 In-Reply-To: <5280C576.1010201@gmail.com> References: <527EA084.6000706@gmail.com> <1384164632.3189.177.camel@kazak.uk.xensource.com> <5280C576.1010201@gmail.com> Organization: Citrix Systems, Inc. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Originating-IP: [10.30.203.1] X-DLP: MIA1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.165.176.63 Cc: The development of GRUB 2 , "xen-devel@lists.xen.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: Mon, 11 Nov 2013 12:06:16 -0000 On Mon, 2013-11-11 at 12:54 +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 11.11.2013 11:10, Ian Campbell wrote: > > On Sat, 2013-11-09 at 21:52 +0100, Vladimir 'φ-coder/phcoder' Serbinenko > > wrote: > >> Hello, all. pvgrub2 has just became part of upstream grub as ports i386-xen and x86_64-xen. > > > > This is super cool, thanks! > > > You're welcome > >> http://git.savannah.gnu.org/cgit/grub.git > >> > >> Documentation on its usage is missing for now but in short: > >> ARCH=x86_64 > >> ./autogen.sh > >> ./configure --target=$ARCH --with-platform=xen > > > > Does this enable Xen statically for the resulting binaries or is it a > > dynamic/boot time selection between Xen and native? > > > The result binaries are xen only. Dynamic selection makes very little > sense for bootloader. Right this is what I expected. Can it coexist alright with a native grub? e.g. will grub-makestandalone pick the right inputs based on -O $arch-xen instead of -O $arch? > > Also, does this require any code from Xen (libxc, minios etc) at build > > time or is it completely standalone? > > > It needs xen headers (/ur/include/xen). On debian those are in libxen-devel So no requirement for e.g. a Xen source tree. That should make things much easier for the distros... Thanks. Ian.