Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-27 Thread David Gibson
On Wed, Apr 27, 2016 at 09:28:57AM +0200, Markus Armbruster wrote: > Thomas Huth writes: > > > On 27.04.2016 08:43, Markus Armbruster wrote: > >> David Gibson writes: > >> > >>> On Tue, Apr 26, 2016 at 01:00:06PM +0200, Thomas Huth wrote: > On 20.04.2016 04:33, David Gibson wrote: > > [...

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-27 Thread Markus Armbruster
Thomas Huth writes: > On 27.04.2016 09:28, Markus Armbruster wrote: >> Thomas Huth writes: >> >>> On 27.04.2016 08:43, Markus Armbruster wrote: David Gibson writes: > On Tue, Apr 26, 2016 at 01:00:06PM +0200, Thomas Huth wrote: >> On 20.04.2016 04:33, David Gibson wrote: >>>

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-27 Thread Thomas Huth
On 27.04.2016 09:28, Markus Armbruster wrote: > Thomas Huth writes: > >> On 27.04.2016 08:43, Markus Armbruster wrote: >>> David Gibson writes: >>> On Tue, Apr 26, 2016 at 01:00:06PM +0200, Thomas Huth wrote: > On 20.04.2016 04:33, David Gibson wrote: >> [...] >> +/* >> + * Prop

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-27 Thread Markus Armbruster
Thomas Huth writes: > On 27.04.2016 08:43, Markus Armbruster wrote: >> David Gibson writes: >> >>> On Tue, Apr 26, 2016 at 01:00:06PM +0200, Thomas Huth wrote: On 20.04.2016 04:33, David Gibson wrote: > [...] > +/* > + * Property functions > + */ > + > +QDTProperty *qdt

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-27 Thread Thomas Huth
On 27.04.2016 08:43, Markus Armbruster wrote: > David Gibson writes: > >> On Tue, Apr 26, 2016 at 01:00:06PM +0200, Thomas Huth wrote: >>> On 20.04.2016 04:33, David Gibson wrote: [...] +/* + * Property functions + */ + +QDTProperty *qdt_new_property(const gchar *name, gc

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-26 Thread Markus Armbruster
David Gibson writes: > On Tue, Apr 26, 2016 at 01:00:06PM +0200, Thomas Huth wrote: >> On 20.04.2016 04:33, David Gibson wrote: >> ... >> > This patch introduces a new utility library "qdt" for runtime >> > manipulation of device trees. The intention is that machine type code >> > can use these

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-26 Thread David Gibson
On Tue, Apr 26, 2016 at 01:00:06PM +0200, Thomas Huth wrote: > On 20.04.2016 04:33, David Gibson wrote: > ... > > This patch introduces a new utility library "qdt" for runtime > > manipulation of device trees. The intention is that machine type code > > can use these routines to construct the devi

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-26 Thread Thomas Huth
On 20.04.2016 04:33, David Gibson wrote: ... > This patch introduces a new utility library "qdt" for runtime > manipulation of device trees. The intention is that machine type code > can use these routines to construct the device tree conveniently, > using a pointer-based representation doesn't ha

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-21 Thread David Gibson
On Thu, Apr 21, 2016 at 04:01:16PM +1000, Alexey Kardashevskiy wrote: > On 04/20/2016 12:33 PM, David Gibson wrote: > >A number of guests supported by qemu use IEEE12750 (Open Firmware) > >style device trees for hardware discovery. In some cases (mac99, > >pseries) they get this device tree via ca

Re: [Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-20 Thread Alexey Kardashevskiy
On 04/20/2016 12:33 PM, David Gibson wrote: A number of guests supported by qemu use IEEE12750 (Open Firmware) style device trees for hardware discovery. In some cases (mac99, pseries) they get this device tree via calls to an in-guest Open Firmware implementation, in others (many ppc and arm em

[Qemu-devel] [RFC for-2.7 01/11] qdt: IEEE1275-style device tree utility code

2016-04-19 Thread David Gibson
A number of guests supported by qemu use IEEE12750 (Open Firmware) style device trees for hardware discovery. In some cases (mac99, pseries) they get this device tree via calls to an in-guest Open Firmware implementation, in others (many ppc and arm embedded machines) they consume the flattened ("