On (Tue) 22 Feb 2011 [13:09:34], Avi Kivity wrote:
> On 02/22/2011 12:18 PM, Amit Shah wrote:
> >Mark the current iohandler list as 'old'. In the next commit we'll
> >introduce a new iohandler api that will replace the list name.
> >
> >The 'old' list will eventually be completely replaced by the new
> >implementation.
>
> A better way to do this is to implement the old API in terms of the
> new API. This ensures you don't lose any functionality, and reduces
> the amount of low-level infrastructure.
With this new approach of switching to just one callback, that is more
work for little gain as we'll just deprecate the older API soon. (The
previous patches used this approach, btw.)