From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: network boot always enabled with 0.15.0 Date: Thu, 11 Aug 2011 15:06:11 +0300 Message-ID: <20110811120611.GB4404@redhat.com> References: <20110811090522.GU4404@redhat.com> <24E144B8C0207547AD09C467A8259F75377760F0@lisa.maurer-it.com> <20110811093856.GV4404@redhat.com> <24E144B8C0207547AD09C467A8259F75377761E8@lisa.maurer-it.com> <20110811102552.GW4404@redhat.com> <24E144B8C0207547AD09C467A8259F753777727D@lisa.maurer-it.com> <20110811105045.GY4404@redhat.com> <24E144B8C0207547AD09C467A8259F75377772BD@lisa.maurer-it.com> <20110811114819.GA4404@redhat.com> <24E144B8C0207547AD09C467A8259F75377772F3@lisa.maurer-it.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "kvm@vger.kernel.org" To: Dietmar Maurer Return-path: Received: from mx1.redhat.com ([209.132.183.28]:9970 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755663Ab1HKMGQ (ORCPT ); Thu, 11 Aug 2011 08:06:16 -0400 Content-Disposition: inline In-Reply-To: <24E144B8C0207547AD09C467A8259F75377772F3@lisa.maurer-it.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Aug 11, 2011 at 11:57:28AM +0000, Dietmar Maurer wrote: > > Agree. noboot sounds optimal, but also requires more codding that other > > options (sigh, isn't it always this way?). But how do we have it for disks? > > -drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i] > [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off] > [,cache=writethrough|writeback|none|unsafe][,format=f] > [,serial=s][,addr=A][,id=name][,aio=threads|native] > [,readonly=on|off][,boot=on|off] > > I thought 'boot=off' would do exactly that. > No, this boot= option is deprecated too. AFAIK boot=off does (and always did) nothing. boot=on tells qemu to boot from the disk using extboot option rom. This was needed to boot from virtio disks. Now SeaBIOS can boot from virtio disk natively, so extboot no longer needed. But due to the ways BIOS boot specification is written only one disk can be bootable in the system, so if one disk has bootindex specified other disks will not participate in the boot even if the disk with bootindex specified is not bootable. -- Gleb.