Re: [Qemu-devel] [PATCH v2 26/27] omap_clk: convert to QOM

2012-02-06 Thread Peter Maydell
cc'ing Andrzej who also has some interest in the omap platforms. -- PMM On 4 February 2012 08:02, Paolo Bonzini wrote: > Make the OMAP clocks QOM objects, so that they we can put them in a branch > of the object graph and turn the pointer properties into links. > > As in the current code, the cl

Re: [Qemu-devel] [PATCH v2 26/27] omap_clk: convert to QOM

2012-02-06 Thread Anthony Liguori
On 02/04/2012 02:02 AM, Paolo Bonzini wrote: Make the OMAP clocks QOM objects, so that they we can put them in a branch of the object graph and turn the pointer properties into links. As in the current code, the clocks are copied into a freshly allocated memory block when they are initialized.

[Qemu-devel] [PATCH v2 26/27] omap_clk: convert to QOM

2012-02-04 Thread Paolo Bonzini
Make the OMAP clocks QOM objects, so that they we can put them in a branch of the object graph and turn the pointer properties into links. As in the current code, the clocks are copied into a freshly allocated memory block when they are initialized. However, the "templates" now have a separate st