From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Hajnoczi Subject: Re: [PATCHv2] Support for booting from virtio disks Date: Tue, 11 May 2010 10:04:25 +0100 Message-ID: References: <20100510081118.GI24787@redhat.com> <4BE82ADA.6000302@codemonkey.ws> <4BE912FB.9030702@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Anthony Liguori , Gleb Natapov , seabios@seabios.org, qemu-devel@nongnu.org, kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:37554 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932329Ab0EKJE0 (ORCPT ); Tue, 11 May 2010 05:04:26 -0400 Received: by vws17 with SMTP id 17so872571vws.19 for ; Tue, 11 May 2010 02:04:25 -0700 (PDT) In-Reply-To: <4BE912FB.9030702@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: >>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