From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43739 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oh28E-0007og-VO for qemu-devel@nongnu.org; Thu, 05 Aug 2010 11:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oh28C-0006CU-BT for qemu-devel@nongnu.org; Thu, 05 Aug 2010 11:13:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48122) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oh28B-0006C2-RP for qemu-devel@nongnu.org; Thu, 05 Aug 2010 11:13:16 -0400 Date: Thu, 5 Aug 2010 11:48:48 +0300 From: Gleb Natapov Subject: Re: [Qemu-devel] Anyone seeing huge slowdown launching qemu with Linux 2.6.35? Message-ID: <20100805084848.GK10499@redhat.com> References: <20100804133401.GP10499@redhat.com> <4C5970AC.6060105@codemonkey.ws> <4C5995B4.90505@redhat.com> <4C5996F4.6010205@redhat.com> <4C5998F1.4030001@codemonkey.ws> <4C5A6839.2070700@redhat.com> <20100805073447.GH10499@redhat.com> <4C5A6EC4.2050007@redhat.com> <20100805075950.GI10499@redhat.com> <4C5A7A2D.5000507@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C5A7A2D.5000507@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, Gerd Hoffmann , "Richard W.M. Jones" On Thu, Aug 05, 2010 at 11:45:33AM +0300, Avi Kivity wrote: > On 08/05/2010 10:59 AM, Gleb Natapov wrote: > > > >>We have the firmware configuration interface for that, if we can > >>tolerate its speed. > >> > >To pass default boot device, sure :) The question is what to pass so > >that seabios will be able to unambiguously determine what device to > >boot from. > > IMO seabios should (if it doesn't already) store this information in > CMOS non-volatile memory (which can be backed by a small disk > image). This allows the user to play with the configuration at boot > time, and if we document the format, management tools can read and > write it as well. > The important part is to find the way to unambiguously pass default boot device between seabios/qemu/management. Afterward we can do many things with it. Pass it on command line, save it in external disk image etc. -- Gleb.