From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lcevy-0004yh-As for qemu-devel@nongnu.org; Thu, 26 Feb 2009 07:01:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lcevw-0004yM-AI for qemu-devel@nongnu.org; Thu, 26 Feb 2009 07:01:45 -0500 Received: from [199.232.76.173] (port=49297 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lcevw-0004yJ-5F for qemu-devel@nongnu.org; Thu, 26 Feb 2009 07:01:44 -0500 Received: from spsmtp02oc.mail2world.com ([74.202.142.148]:4191) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lcevv-0007Su-2P for qemu-devel@nongnu.org; Thu, 26 Feb 2009 07:01:43 -0500 From: =?iso-8859-1?Q?Torbj=F6rn_Andersson?= References: <20090226093640.GA413@shareable.org> In-Reply-To: <20090226093640.GA413@shareable.org> Subject: RE: [Qemu-devel] Machine description, an alternativ using XML Date: Thu, 26 Feb 2009 13:01:38 +0100 Message-ID: <004d01c99809$fbcacf70$f3606e50$@tt@home.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Language: sv 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 Jamie Lokier Wrote: > -----Ursprungligt meddelande----- > Fr=E5n: qemu-devel-bounces+tobbe.tt=3Dhome.se@nongnu.org [mailto:qemu- > devel-bounces+tobbe.tt=3Dhome.se@nongnu.org] F=F6r Jamie Lokier > Skickat: den 26 februari 2009 10:37 > Till: qemu-devel@nongnu.org > =C4mne: Re: [Qemu-devel] Machine description, an alternativ using XML >=20 > Torbj=F6rn Andersson wrote: > > > > > > > > > > > > > > > > > > > > > > .... > > > > > > > > > > > > > > >=20 > Why so verbose? >=20 > > > > 8192 > > > > > > > 0xc0010000 > > We aimed for not putting any aditional burdon on QEMU, by defining = concepts like PIC and MEMMAP. Simply Objects and Classes should exist. Then we = added MACHINES and CLUSTERS as types in the XML files. >=20 > > I know you are looking at a solution based on FDT. My belief is that > the XML > > solution is more flexible, but I admit that I know very little about > FDT. > > Further, I believe that one can create FDTs, from the XML machine > > definitions, in runtime and pass them to the target-os if required. > > > > The strong point with the XML solution is that it is very suitable > for > > modeling embedded systems where lots of GPIOs, interrupts, dma- > channels, > > i2c, spi, i2s/pcm etc. >=20 > Isn't FDT capable of that too? I happy to see Liu Yu FDT for MPC8544DS. I will study it to see if it = fits our needs/requirements. My targets are highly complex with lots of connections between my objects.=20 An example, interrupt lines need to be defined as a pair , because the interrupt routing might be more complex. Think of a system = with cascade connected pl190's. How does one define this relationship in FDT? =20 =20 > > 2.0 > > > true > > > > > 512 > > > > 1 > > > type=3D"bytes">12341234123412341234123412341234 > Marvell Yukon 88E8056 = PCI-E > Gigabit Ethernet Controller > > type=3D"bytes">000123456789 > > > > 8 > > > > > 2 > > type=3D"string">\\srv\Develop\Software\MS SQL = Eval\SQLEVAL.ISO > > > > > > > 1 > > C:\Documents and > Settings\test\My Documents\My Virtual Machines\test\test Hard > Disk.vhd > .\test Hard > Disk.vhd > > > > > > > > > > > Virtual PC 2007 > 0001.0000.0000 > > > > > > > > > > true > > > false > 0 > > > type=3D"boolean">false > > > > > 8886-9141-1653-9060-4025- > 7842-65 > > {125BDA48-420C-446E-AA48- > 9B597632229C} > 8886-9141-1653-9060-4025- > 7842-65 > > 8886-9141-1653-9060-4025-7842- > 65 > 8886-9141-1653-9060-4025- > 7842-65 > > = type=3D"bytes">00004000F0223F8002FFFF2F00FF3F1000003F00000000000031004C07= > = 0707070666FFFF208580FF01000000200C01800CF400000000000000000000000000901 > = A32E24A580050E999E62401002784004A2080240000000000085AACFE1032547698BAE4 > = 00000000000003000000000000000000000000000000000000000000000000000000000 > = 00000000000000000000000000000000000000000000000000000000000000000000000 > = 00000000000000000000000000000000000000000000000000000000000000000000000 > = 00000000000000000000000000000000000000000000000000000000000000000000000 > > 42004800120002290408 > > > > > > true > > > > type=3D"string">013803 > > type=3D"string">5.02.3790 > Microsoft Windows = Server > 2003 > Service Pack > 2 > Windows Server > 2003 > Server > > > > > > > 6.0.156.0 > Microsoft Virtual PC 2007 > > > 6.0.156.0 > Microsoft Virtual PC 2007 > > > > > true > > 4 > false > > > true > > > true > > > true > > > 0 > true > > > > > true > > > > > 2 > > > > false > false > true > > > 6 > > > > true > > >