qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Machine description, an alternativ using XML


From: Anthony Liguori
Subject: Re: [Qemu-devel] Machine description, an alternativ using XML
Date: Thu, 26 Feb 2009 16:14:42 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Paul Brook wrote:
  <OBJECT name="pic" class="pl190">
    <ATTRIBUTE name="pic">      <value obj_ref=":cpu"/>  </ATTRIBUTE>
    <ATTRIBUTE name="memmap">   <value obj_ref=":memmap"/>  </ATTRIBUTE>
    <ATTRIBUTE name="base">     <value integer="0xc0010000"/>  </ATTRIBUTE>
  </OBJECT>
<MACHINE/>

It looks like you're just using XML to encapsulate simple <key,value> pairs, which IMHO is completely the wrong way to use XML. Qemu already has to know about things like IO regions, IRQs, bus bindings. XML gives you the power to describe these things properly, rather than relying on clumsy naming conventions.

I'm really don't want to see this get furthered rat holed. Since we all seemed relatively happy with the device tree as a configuration file, can we agree to that firmly and avoid this discussion?

Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]