From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: Failure to boot CDROM with -drive arg Date: Tue, 8 Jul 2008 10:21:49 +0100 Message-ID: <20080708092149.GF24934@redhat.com> References: <20080708083730.GC24934@redhat.com> <20080708091724.GA4861@ralph.linux2go.dk> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([66.187.233.31]:49993 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259AbYGHJVw (ORCPT ); Tue, 8 Jul 2008 05:21:52 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m689Lput026668 for ; Tue, 8 Jul 2008 05:21:51 -0400 Received: from file.fab.redhat.com (file.fab.redhat.com [10.33.63.6]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m689LoPo025112 for ; Tue, 8 Jul 2008 05:21:50 -0400 Received: (from berrange@localhost) by file.fab.redhat.com (8.13.1/8.13.1/Submit) id m689Ln9Q005063 for kvm@vger.kernel.org; Tue, 8 Jul 2008 10:21:49 +0100 Content-Disposition: inline In-Reply-To: <20080708091724.GA4861@ralph.linux2go.dk> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jul 08, 2008 at 11:17:24AM +0200, Soren Hansen wrote: > On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: > > 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=/home/berrange/boot.iso,if=ide,media=cdrom,index=2,boot=on -m 500 > > http://sourceforge.net/tracker/index.php?func=detail&aid=1977971&group_id=180599&atid=893831 Ok, so basically this is saying that boot=on only works for media=disk. I really don't like the fact that we now have 2 different ways of flagging bootable disks, depending on whether want to use BIOS boot or extboot. The management apps shouldn't have to make such a decision - QEMU should be picking the most appropriate choice for us. ie, if we have boot=on with an IDE cdrom, then QEMU should automatically do a BIOS boot instead of extboot. This way if extboot gets improved, QEMU can update its logic to correspond without needing to change all the management apps using QEMU. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|