qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/7] iohandlers: Mark current implementation as


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 1/7] iohandlers: Mark current implementation as 'old'
Date: Tue, 22 Feb 2011 15:28:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7

On 02/22/2011 01:17 PM, Amit Shah wrote:
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.)

Does "deprecate" mean "completely remove"?

If so I agree.

Would you still prefer to have an old->new mapping?


If you don't remove the old API, yes.

--
error compiling committee.c: too many arguments to function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]