Re: [Qemu-devel] [PATCH v5 2/9] qdev: add clock input&output support to devices.

2018-10-02 Thread Philippe Mathieu-Daudé
Hi Damien, On 10/2/18 4:24 PM, Damien Hedde wrote: > Add functions to easily add input or output clocks to a device. > The clock port objects are added as children of the device. > > A function allows to connect two clocks together. > It should be called by some toplevel to make a connection betw

[Qemu-devel] [PATCH v5 2/9] qdev: add clock input&output support to devices.

2018-10-02 Thread Damien Hedde
Add functions to easily add input or output clocks to a device. The clock port objects are added as children of the device. A function allows to connect two clocks together. It should be called by some toplevel to make a connection between 2 (sub-)devices. Also add a function which forwards a por