Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M68dC-0005BN-1o for mharc-grub-devel@gnu.org; Mon, 18 May 2009 15:36:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M68dA-0005Aw-PB for grub-devel@gnu.org; Mon, 18 May 2009 15:36:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M68d5-00059R-VK for grub-devel@gnu.org; Mon, 18 May 2009 15:36:12 -0400 Received: from [199.232.76.173] (port=51549 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M68d5-00059H-Ig for grub-devel@gnu.org; Mon, 18 May 2009 15:36:07 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:64185) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M68d5-0005lj-4b for grub-devel@gnu.org; Mon, 18 May 2009 15:36:07 -0400 Received: by bwz5 with SMTP id 5so3592371bwz.42 for ; Mon, 18 May 2009 12:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=NAZhnqcqUt1P1ODH/q30oX0r9cG1G1elm9WKUKL5SlA=; b=Ot8E0LYmjuX5Y3u5SNyrKsZl5UTXdBMso164LkAVtU4fbKkhSjZ29aXgOjKSNleDEZ sge3rNTBtK2DFgH9LhN3BqGSuQsgT1lWXO0tRLE6gMkJVBTdURj7KNlzyjEi0ndNJRZo r3nqZ33dFPbRoWh34FLQQcEQOf27iBI4q6F14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ObDG/DLAiBd/UMAWgMz7CrsyYjGQD/pkG4EMRu4hSddcS3oZhLun+LbKj378dQDAZM qqI0qoghIwbLiUxFZUv6vDGNRLEF9cQDuv7xoiw4w6TsWXr4U3eA45079M6N8ORGmOp/ Eo2wYtyDpNO5gKjW5wM7tlocKv7JdDUejYiGY= MIME-Version: 1.0 Received: by 10.204.66.195 with SMTP id o3mr7089765bki.201.1242675366142; Mon, 18 May 2009 12:36:06 -0700 (PDT) In-Reply-To: <87ab5ap7wr.fsf@tac.ki.iif.hu> References: <87ab5ap7wr.fsf@tac.ki.iif.hu> Date: Mon, 18 May 2009 21:36:06 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: porting Grub to Xen X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 19:36:13 -0000 Hello On Mon, May 18, 2009 at 8:45 PM, Ferenc Wagner wrote: > Hi, > > Last week we had a very interesting chat on #grub, discussing various > possibilities to run Grub in a Xen paravirtual domain. =A0You showed > some interest in properly porting Grub to this architecture instead of > my misguided attempts to go through grub-emu and kexec. =A0You asked for > the interface docs to be able to assess the task. =A0Please find it under > > http://www.cl.cam.ac.uk/research/srg/netos/xen/documentation.html > > referenced as "Developer Manual" in HTML and PDF. =A0I put online the > current MiniOS source at http://apt.niif.hu/minios.tgz, Xen is under GPLv2. Unless otherwise stated minios is under GPLv2 too. In quick look I haven't found a separate license for minios. grub2 is under GPLv3+ which makes it incompatible with gplv2. So this code can't be used by grub2. If you really need a reference implementation I suggest taking a look at freebsd. Ensure however that it's under new BSD license before taking any code from it. If it contains the advertising clause (old BSD license) then it's not GPLv3+-compatible. Normally whole BSD is under new BSD license but check it. Also when you borrow any code put borrowed code into separate files and clearly indicate the origin and the original license. Also it's much better in licensing and technical point of view to do it from scratch: it usually results in a much cleaner code and it's not encumbered by additional clauses > which is > bundled with Xen, and provides a running example of the interface > specification. =A0Porting could mean taking the necessary parts or this, > and adding the Grub interface. =A0Please find attached my current disk > interface, which works under grub-emu (under MiniOS). > > So, what do you think about this? =A0I'm afraid I don't have the > necessary low-level knowledge to be of much help starting, but at > least have a definite need, so I'll try my best. > > Thanks, > Feri. > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > --=20 Regards Vladimir 'phcoder' Serbinenko