From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA7BX-0000pz-D7 for qemu-devel@nongnu.org; Mon, 16 Nov 2009 14:24:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA7BS-0000oh-Uo for qemu-devel@nongnu.org; Mon, 16 Nov 2009 14:24:23 -0500 Received: from [199.232.76.173] (port=44573 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA7BS-0000oe-Pz for qemu-devel@nongnu.org; Mon, 16 Nov 2009 14:24:18 -0500 Received: from mail-qy0-f194.google.com ([209.85.221.194]:43737) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NA7BS-000086-Gm for qemu-devel@nongnu.org; Mon, 16 Nov 2009 14:24:18 -0500 Received: by qyk32 with SMTP id 32so2539545qyk.4 for ; Mon, 16 Nov 2009 11:24:18 -0800 (PST) Message-ID: <4B01A6E0.2060802@codemonkey.ws> Date: Mon, 16 Nov 2009 13:24:16 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/2] extboot reloaded. References: <1258394678-8634-1-git-send-email-kraxel@redhat.com> In-Reply-To: <1258394678-8634-1-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org Gerd Hoffmann wrote: > Hi, > > How about this one? extboot rom and interface are unmodified. > > The windup in qemu is very different though. It is now implemented as > isa bus device (which is what extboot actually is). It is properly > integrated into qdev. It is much less invasive than the previous > version. The patch just drops a hw/extboot.c file into the tree and > adds it to Makefile.target. No code changes anywhere else in qemu. > > The magic words to activate extboot are '-device extboot,drive='. > If we were going to introduce a light weight block protocol like this, I'd rather it be implemented in SeaBIOS as a block driver. Then we reuse all of the int13 code, it gets registered as a BCV device allowing selection in the boot menu, and requires no special options on the command line. It would require a mechanism to do enumeration and identification though. Regards, Anthony Liguori > cheers, > Gerd > > > >