From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaZz0-0001l7-JU for qemu-devel@nongnu.org; Fri, 20 Feb 2009 13:20:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaZyy-0001kn-5P for qemu-devel@nongnu.org; Fri, 20 Feb 2009 13:20:17 -0500 Received: from [199.232.76.173] (port=54698 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaZyx-0001kk-Vo for qemu-devel@nongnu.org; Fri, 20 Feb 2009 13:20:16 -0500 Received: from mx20.gnu.org ([199.232.41.8]:37444) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LaZyx-0002y0-Mo for qemu-devel@nongnu.org; Fri, 20 Feb 2009 13:20:15 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaZyw-0000uC-MN for qemu-devel@nongnu.org; Fri, 20 Feb 2009 13:20:15 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Machine description as data prototype, take 3 Date: Fri, 20 Feb 2009 18:20:11 +0000 References: <87iqnh6kyv.fsf@pike.pond.sub.org> <87bpsy1dql.fsf@pike.pond.sub.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902201820.12376.paul@codesourcery.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 Cc: Blue Swirl > Here's a concrete example: You proposed /cpus/num, whereas the OF way > is adding a number of CPU nodes. It is possible to convert between the > two (if all CPU properties were identical), but it's just unnecessary > work. In my implementation the device tree code doesn't actually know anything about CPUs. They're just another device that gets created. Paul