Re: [Qemu-devel] [PATCH v3 06/16] register: QOMify

2016-02-09 Thread Alistair Francis
On Tue, Feb 9, 2016 at 3:49 AM, Alex Bennée wrote: > > Alistair Francis writes: > >> 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 as well as setup >> the r/w fast pa

Re: [Qemu-devel] [PATCH v3 06/16] register: QOMify

2016-02-09 Thread Alex Bennée
Alistair Francis writes: > 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 as well as setup > the r/w fast paths. I don't know if there has been bit-rot since posting but

[Qemu-devel] [PATCH v3 06/16] register: QOMify

2016-01-29 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 as well as setup the r/w fast paths. Signed-off-by: Peter Crosthwaite Signed-off-by: Alistair Francis Reviewed-by: KONRAD Frederic