From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCHv2] Support for booting from virtio disks Date: Mon, 10 May 2010 10:58:45 -0500 Message-ID: <4BE82D35.1060401@codemonkey.ws> References: <20100510081118.GI24787@redhat.com> <4BE82ADA.6000302@codemonkey.ws> <20100510155400.GB4497@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: seabios@seabios.org, qemu-devel@nongnu.org, kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mail-yx0-f171.google.com ([209.85.210.171]:58142 "EHLO mail-yx0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753837Ab0EJP6u (ORCPT ); Mon, 10 May 2010 11:58:50 -0400 Received: by yxe1 with SMTP id 1so2674241yxe.33 for ; Mon, 10 May 2010 08:58:50 -0700 (PDT) In-Reply-To: <20100510155400.GB4497@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/10/2010 10:54 AM, Gleb Natapov wrote: > On Mon, May 10, 2010 at 10:48:42AM -0500, Anthony Liguori wrote: > >> On 05/10/2010 03:11 AM, Gleb Natapov wrote: >> >>> This patch adds native support for booting from virtio disks to Seabios. >>> >>> Signed-off-by: Gleb Natapov >>> >> A related problem that I think we need to think about how we solve >> is indicating to Seabios which device we want to boot from >> >> With your patch, a user can select a virtio device explicitly or if >> they use only one virtio device, it will Just Work. >> >> However, if a user uses IDE and virtio, or a user has multiple >> disks, they cannot select a device via -boot. >> >> > Isn't this problem unrelated to this patch? I mean if I start qemu with > two ide devices can I specify from qemu command line which one I want to > boot from? > That's sort of what I'm asking. If you compare this approach to extboot, extboot provided a capability to select a disk. I think it can be argued though that this isn't a necessary feature to carry over and I'm looking for additional opinions on that. Regards, Anthony Liguori