From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59280 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PA3dx-0002jz-3H for qemu-devel@nongnu.org; Sun, 24 Oct 2010 12:42:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PA3ds-0003CZ-Fy for qemu-devel@nongnu.org; Sun, 24 Oct 2010 12:42:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PA3ds-0003CE-9s for qemu-devel@nongnu.org; Sun, 24 Oct 2010 12:41:56 -0400 Message-ID: <4CC461CE.9040303@redhat.com> Date: Sun, 24 Oct 2010 18:41:50 +0200 From: Avi Kivity MIME-Version: 1.0 References: <1287934469-16624-1-git-send-email-avi@redhat.com> <1287934469-16624-2-git-send-email-avi@redhat.com> In-Reply-To: <1287934469-16624-2-git-send-email-avi@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 1/2] Type-safe ioport callbacks List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel@nongnu.org Cc: kvm@vger.kernel.org On 10/24/2010 05:34 PM, Avi Kivity wrote: > Currently the old and new methods exist side by side; once the old way is gone, > we can also save a bunch of memory since the new method requires one pointer > per ioport instead of 6. Actually, 1:7, we replace 3 read callbacks, 3 write callbacks, and 1 opaque pointer with a single IOPort pointer. -- error compiling committee.c: too many arguments to function