From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXYOb-0007GZ-5I for qemu-devel@nongnu.org; Mon, 25 Aug 2008 05:29:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXYOZ-0007F5-AZ for qemu-devel@nongnu.org; Mon, 25 Aug 2008 05:29:56 -0400 Received: from [199.232.76.173] (port=57333 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXYOZ-0007Em-0R for qemu-devel@nongnu.org; Mon, 25 Aug 2008 05:29:55 -0400 Received: from il.qumranet.com ([212.179.150.194]:10753) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXYOW-0007L3-Cl for qemu-devel@nongnu.org; Mon, 25 Aug 2008 05:29:53 -0400 Message-ID: <48B27B8E.60709@qumranet.com> Date: Mon, 25 Aug 2008 12:29:50 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/6] Add UUID command-line option References: <20080824113258.5652.92531.stgit@gleb-debian.qumranet.com.qumranet.com> <20080824122423.GA6192@minantech.com> <48B15D87.9000000@qumranet.com> <48B16860.5010207@qumranet.com> <20080824185039.GA24329@morn.localdomain> In-Reply-To: <20080824185039.GA24329@morn.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: qemu-devel@nongnu.org Kevin O'Connor wrote: > On Sun, Aug 24, 2008 at 04:55:44PM +0300, Avi Kivity wrote: > >> Blue Swirl wrote: >> >>> True, but realistic probing for memory could take some time if there >>> is a huge amount of it. >>> >> No reason for that. A binary search with a cap of 1TB and a granularity >> of 1MB requires only 20 probes. >> > > Real x86 machines detect the available memory chips via the smbus and > then program the memory controller. The initialization code must do > this work without accessing any memory. The coreboot project > (coreboot.org) has more info if you're interested. > Yeah, last time I did memory detection was before this existed. So I guess we are better off with a qemu-specific hack. -- error compiling committee.c: too many arguments to function