Received: from eggs.gnu.org ([208.118.235.92]:45154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THAZA-0007rk-PL for qemu-devel@nongnu.org; Thu, 27 Sep 2012 05:39:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THAZ9-0007r4-Ol for qemu-devel@nongnu.org; Thu, 27 Sep 2012 05:39:32 -0400 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <1348738549.24701.26.camel@pasglop> Date: Thu, 27 Sep 2012 11:39:26 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <81F130F4-4F38-4863-B025-6260BDAE7285@suse.de> References: <50641A82.4030708@linux.vnet.ibm.com> <1348738150.24701.21.camel@pasglop> <1348738549.24701.26.camel@pasglop> Subject: Re: [Qemu-devel] [Qemu-ppc] Qemu boot device precedence over nvram boot-device setting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: Gleb Natapov , "qemu-ppc@nongnu.org List" , Avik Sil , Nikunj A Dadhania , qemu-devel qemu-devel On 27.09.2012, at 11:35, Benjamin Herrenschmidt wrote: > On Thu, 2012-09-27 at 11:33 +0200, Alexander Graf wrote: >>=20 >> I think the command line should override anything user specified. So >> basically: >>=20 >> * user defined -boot option (or bootindex magic from Gleb) >> * nvram >> * fallback to default >>=20 >>> Eventually we should try to implement some sort of interactive boot >>> device selection in SLOF, such as SMS does on pseries, but that will >>> take a bit of time. >=20 > Ok but that means we need a way to know that an explicit -boot = argument > was passed vs. the default built-in list. I don't think vl.c gives us > that today, does it ? If it doesn't, we add that logic :). >=20 >> That would be en par with the bootmenu on x86 :). Please check out = how >> x86 models these things. It could sure be interesting for pseries. >=20 > Hrm... might apply ... or not. If we can specific an explicit qdev on > qemu command line, then it's going to be an interesting exercise to = tell > SLOF about it (PCI devices come to mind). ... which is the same problem x86 has to convert qdev devices to option = rom magic numbers. Really, the problems are very similar :) Alex