From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRe8f-00063t-Kz for qemu-devel@nongnu.org; Tue, 08 May 2012 02:43:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRe8d-0007JH-Lr for qemu-devel@nongnu.org; Tue, 08 May 2012 02:43:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRe8d-0007Iz-E3 for qemu-devel@nongnu.org; Tue, 08 May 2012 02:43:11 -0400 Message-ID: <4FA8C07A.4090505@redhat.com> Date: Tue, 08 May 2012 08:43:06 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <4FA818F9.90104@msgid.tls.msk.ru> <4FA8AD11.6060905@redhat.com> <4FA8B2FE.60303@msgid.tls.msk.ru> In-Reply-To: <4FA8B2FE.60303@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] ahci drive: how to make it non-bootable? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: qemu-devel Hi, >> bootindex=1 for virtio > > -drive file=winguest.raw,if=virtio,bootindex=1 -- > > this does not work: Oops. I through it does, but seems this is only the case for the old & deprecated boot=on (and maybe even that only in qemu-kvm). > qemu: -drive file=winguest.raw,if=virtio,bootindex=1: Invalid parameter 'bootindex' > > I understand that I probably can replace this single > -drive with 3 parameters -- -device virtio-blk-pci, > -drive if=none, and -device ide-drive. It's two only: -drive if=none,id=,... -device virtio-blk-pci,drive= > Also, still, the question in the $subj: how to make the ahci > drive non-bootable? I think you can't. seabios uses a few numbers just above 100 for the internal default ordering (hd first, then cdrom, then nic, then others) in case no bootindex is specified. So you can try bootindex=200, that should get ahci to the bottom of the boot menu, maybe that is good enougth. cheers, Gerd