From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXFsk-0005Ch-R1 for qemu-devel@nongnu.org; Sun, 24 Aug 2008 09:43:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXFsj-0005AQ-3U for qemu-devel@nongnu.org; Sun, 24 Aug 2008 09:43:50 -0400 Received: from [199.232.76.173] (port=47871 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXFsi-0005A3-K5 for qemu-devel@nongnu.org; Sun, 24 Aug 2008 09:43:48 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:21689) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXFsi-0005yF-8F for qemu-devel@nongnu.org; Sun, 24 Aug 2008 09:43:48 -0400 Received: by wf-out-1314.google.com with SMTP id 27so1477943wfd.4 for ; Sun, 24 Aug 2008 06:43:47 -0700 (PDT) Message-ID: Date: Sun, 24 Aug 2008 16:43:47 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] [PATCH 0/6] Add UUID command-line option In-Reply-To: <48B15D87.9000000@qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080824113258.5652.92531.stgit@gleb-debian.qumranet.com.qumranet.com> <20080824122423.GA6192@minantech.com> <48B15D87.9000000@qumranet.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 8/24/08, Avi Kivity wrote: > Blue Swirl wrote: > > > For example, Bochs seems to use i440fx registers to determine the > > available physical memory. This could be changed to use the > > configuration structure instead. It's a matter of taste, but I would > > find this an improvement. > > > > > > More hardwarelike would be to detect how much memory exists and have the > bios program those registers, instead of reading those registers (if I > understand you correctly). True, but realistic probing for memory could take some time if there is a huge amount of it. Moreover, this level of precision would not gain anything in Qemu use, it would be unnecessary. If Bochs BIOS was aiming to be used as a real, physical PC BIOS in the future, then these kind of improvements might be useful. A long time ago on Sparc32, I put the memory size to one of CPU registers. That was quick and easy for both sides but dirty.