From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: Failure to boot CDROM with -drive arg Date: Tue, 08 Jul 2008 15:45:29 +0200 Message-ID: <1215524729.3805.21.camel@frecb07144> References: <20080708083730.GC24934@redhat.com> <20080708091724.GA4861@ralph.linux2go.dk> <20080708092149.GF24934@redhat.com> <4873653B.3000103@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "Daniel P. Berrange" , kvm@vger.kernel.org To: Anthony Liguori Return-path: Received: from ecfrec.frec.bull.fr ([129.183.4.8]:42028 "EHLO ecfrec.frec.bull.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475AbYGHNph (ORCPT ); Tue, 8 Jul 2008 09:45:37 -0400 In-Reply-To: <4873653B.3000103@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: Le mardi 08 juillet 2008 =C3=A0 08:01 -0500, Anthony Liguori a =C3=A9cr= it : > Daniel P. Berrange wrote: > > On Tue, Jul 08, 2008 at 11:17:24AM +0200, Soren Hansen wrote: > > =20 > >> On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote= : > >> =20 > >>> The following two command lines should be identical from the user= 's > >>> point of view: > >>> > >>> # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 > >>> > >>> # qemu-kvm -drive file=3D/home/berrange/boot.iso,if=3Dide,media=3D= cdrom,index=3D2,boot=3Don -m 500 > >>> =20 > >> http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D19779= 71&group_id=3D180599&atid=3D893831 > >> =20 > > > > Ok, so basically this is saying that boot=3Don only works for media= =3Ddisk. > > I really don't like the fact that we now have 2 different ways of f= lagging > > bootable disks, depending on whether want to use BIOS boot or extbo= ot. > > =20 >=20 > Semantically, boot=3Don means "make this the first bootable hard disk= ". =20 > That's not to say that there shouldn't be a check. >=20 > If you did: >=20 > qemu-system-x86 -drive file=3Dfoo.img,boot=3Don -boot d >=20 > You would still boot from the cdrom. So, "boot=3Don" means in fact "bootable=3Dtrue" Regards, Laurent --=20 --------- Laurent.Vivier@bull.net ---------- "=EF=BB=BF=EF=BB=BFL'avenir ne se pr=C3=A9voit pas, il se pr=C3=A9pare.= " - Maurice Blondel