From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=52899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBlO7-0003JX-SK for qemu-devel@nongnu.org; Tue, 11 May 2010 05:04:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBlO6-0003eC-1Y for qemu-devel@nongnu.org; Tue, 11 May 2010 05:04:27 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:47824) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBlO5-0003e7-V1 for qemu-devel@nongnu.org; Tue, 11 May 2010 05:04:26 -0400 Received: by vws10 with SMTP id 10so868670vws.4 for ; Tue, 11 May 2010 02:04:25 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4BE912FB.9030702@redhat.com> References: <20100510081118.GI24787@redhat.com> <4BE82ADA.6000302@codemonkey.ws> <4BE912FB.9030702@redhat.com> Date: Tue, 11 May 2010 10:04:25 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] Re: [PATCHv2] Support for booting from virtio disks List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: kvm@vger.kernel.org, seabios@seabios.org, Gleb Natapov , qemu-devel@nongnu.org >>From what I can tell SeaBIOS is reading CMOS_BIOS_BOOTFLAG1 and CMOS_BIOS_BOOTFLAG2 from non-volatile memory. The values index into bev[], which contains IPL entries (the drives). Is the order of bev[] entries well-defined? Is there a way for QEMU command-line to know that the first virtio-blk device corresponds to x and the IDE CD-ROM corresponds to y? Stefan