Re: [Qemu-devel] [PATCH v6 05/13] register: QOMify

2016-06-21 Thread Alistair Francis
On Fri, Jun 10, 2016 at 3:55 AM, Peter Maydell wrote: > On 12 May 2016 at 23:46, Alistair Francis wrote: >> From: Peter Crosthwaite >> >> QOMify registers as a child of TYPE_DEVICE. This allows registers to >> define GPIOs. >> >> Define an init helper that will do QOM initialisation. > > You sho

Re: [Qemu-devel] [PATCH v6 05/13] register: QOMify

2016-06-10 Thread Peter Maydell
On 12 May 2016 at 23:46, Alistair Francis wrote: > From: Peter Crosthwaite > > QOMify registers as a child of TYPE_DEVICE. This allows registers to > define GPIOs. > > Define an init helper that will do QOM initialisation. You should just squash this down into patch 2. > Signed-off-by: Peter Cr

[Qemu-devel] [PATCH v6 05/13] register: QOMify

2016-05-12 Thread Alistair Francis
From: Peter Crosthwaite QOMify registers as a child of TYPE_DEVICE. This allows registers to define GPIOs. Define an init helper that will do QOM initialisation. Signed-off-by: Peter Crosthwaite Signed-off-by: Alistair Francis Reviewed-by: KONRAD Frederic --- V5: - Convert to using only one