From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/2] Type-safe ioport callbacks Date: Sun, 24 Oct 2010 18:41:50 +0200 Message-ID: <4CC461CE.9040303@redhat.com> References: <1287934469-16624-1-git-send-email-avi@redhat.com> <1287934469-16624-2-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Anthony Liguori , qemu-devel@nongnu.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:12112 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757989Ab0JXQl4 (ORCPT ); Sun, 24 Oct 2010 12:41:56 -0400 In-Reply-To: <1287934469-16624-2-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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