From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MISHc-0003RU-KD for mharc-grub-devel@gnu.org; Sun, 21 Jun 2009 15:00:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MISHa-0003RF-PR for grub-devel@gnu.org; Sun, 21 Jun 2009 15:00:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MISHW-0003Ob-AV for grub-devel@gnu.org; Sun, 21 Jun 2009 15:00:50 -0400 Received: from [199.232.76.173] (port=57710 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MISHW-0003OO-3V for grub-devel@gnu.org; Sun, 21 Jun 2009 15:00:46 -0400 Received: from c60.cesmail.net ([216.154.195.49]:50698) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MISHV-0003cE-GX for grub-devel@gnu.org; Sun, 21 Jun 2009 15:00:45 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 21 Jun 2009 15:00:44 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id 24BE834C6A for ; Sun, 21 Jun 2009 15:06:44 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20090621181748.GA21152@thorin> References: <20090621181748.GA21152@thorin> Content-Type: text/plain Date: Sun, 21 Jun 2009 15:00:42 -0400 Message-Id: <1245610842.4250.6.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 (2.26.2-1.fc11) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] i386-qemu port 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: Sun, 21 Jun 2009 19:00:51 -0000 On Sun, 2009-06-21 at 20:17 +0200, Robert Millan wrote: > Hi, > > I ported GRUB to QEMU. It's mostly based on the coreboot port, with the > main difference being that we include code to transition from i8086 mode, > an i386 firmware entry point and produce raw code images instead of ELF. That's great news! Eventually, it would be nice to have support for many other platforms supported by qemu, such as arm and mips. This way, it will be possible to emulate many platforms in qemu without having to implement the platform specific firmware. > The result is you can do e.g. > > $ sudo grub-mkrawimage at_keyboard normal etc -o /usr/share/qemu/grub Please consider if we can call it grub-mkimage unless grub-mkimage would make sense as a separate executable for that platform. > This patch is incomplete, still includes a few hacks and needs general > cleanup. I'll send a few cleanup patches separately so we can integrate > this avoiding code duplication and ugly kludges. It should be one of our priorities to make the code easy to maintain and extend. -- Regards, Pavel Roskin