From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlEEO-0002xU-Hn for qemu-devel@nongnu.org; Wed, 19 Dec 2012 02:38:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlEEN-0004Sd-J6 for qemu-devel@nongnu.org; Wed, 19 Dec 2012 02:38:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlEEN-0004S8-BI for qemu-devel@nongnu.org; Wed, 19 Dec 2012 02:38:19 -0500 Message-ID: <50D16EE5.1050105@redhat.com> Date: Wed, 19 Dec 2012 08:38:13 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1355901730-24350-1-git-send-email-akong@redhat.com> <1355901885-24398-1-git-send-email-akong@redhat.com> In-Reply-To: <1355901885-24398-1-git-send-email-akong@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Resend][Seabios PATCH] don't boot from un-selected devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: dallan@redhat.com, gleb@redhat.com, seabios@seabios.org, qemu-devel@nongnu.org, alex.williamson@redhat.com, kevin@koconnor.net On 12/19/12 08:24, Amos Kong wrote: > Current seabios will try to boot from selected devices first, > if they are all failed, seabios will also try to boot from > un-selected devices. > > For example: > @ qemu-kvm -boot order=n,menu=on ... > > Guest will boot from network first, if it's failed, guest will try to > boot from other un-selected devices (floppy, cdrom, disk) one by one. > > Sometimes, user don't want to boot from some devices. This patch changes > seabios to boot only from selected devices. I think (i.e. I didn't test) the patch breaks booting if the user didn't explicitly specify a boot device. cheers, Gerd