Re: [Qemu-devel] [PATCH v2 11/16] qdev: Define qdev_get_gpio_out

2016-01-29 Thread Alistair Francis
On Thu, Jan 28, 2016 at 7:44 AM, Frederic Konrad wrote: > On 19/01/2016 23:35, Alistair Francis wrote: >> From: Peter Crosthwaite >> >> An API similar to the existing qdev_get_gpio_in() except gets outputs. >> Useful for: >> >> 1: Implementing lightweight devices that don't want to keep pointers

Re: [Qemu-devel] [PATCH v2 11/16] qdev: Define qdev_get_gpio_out

2016-01-28 Thread Frederic Konrad
On 19/01/2016 23:35, Alistair Francis wrote: > From: Peter Crosthwaite > > An API similar to the existing qdev_get_gpio_in() except gets outputs. > Useful for: > > 1: Implementing lightweight devices that don't want to keep pointers > to their own GPIOs. They can get their GPIO pointers at runtime

[Qemu-devel] [PATCH v2 11/16] qdev: Define qdev_get_gpio_out

2016-01-19 Thread Alistair Francis
From: Peter Crosthwaite An API similar to the existing qdev_get_gpio_in() except gets outputs. Useful for: 1: Implementing lightweight devices that don't want to keep pointers to their own GPIOs. They can get their GPIO pointers at runtime from QOM using this API. 2: testing or debugging code w