From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH 0/2] Type-safe ioport callbacks Date: Mon, 25 Oct 2010 08:45:56 -0500 Message-ID: <4CC58A14.2030502@codemonkey.ws> References: <1287934469-16624-1-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: Anthony Liguori , qemu-devel@nongnu.org, kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mail-qw0-f46.google.com ([209.85.216.46]:43840 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752589Ab0JYNp6 (ORCPT ); Mon, 25 Oct 2010 09:45:58 -0400 Received: by qwk3 with SMTP id 3so1379945qwk.19 for ; Mon, 25 Oct 2010 06:45:58 -0700 (PDT) In-Reply-To: <1287934469-16624-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 10/24/2010 10:34 AM, Avi Kivity wrote: > A recent qemu -> qemu-kvm merge broke cpu hotplug without the compiler > complaining because of the type-unsafeness of the ioport callbacks. This > patchset adds a type-safe variant of ioport callbacks and coverts a sample > ioport. Converting the other 300-odd registrations is left as an excercise > to the community. > > Avi Kivity (2): > Type-safe ioport callbacks > piix4 acpi: convert io BAR to type-safe ioport callbacks > Makes sense. Acked-by: Anthony Liguori Regards, Anthony Liguori > hw/acpi_piix4.c | 30 +++++++++++++++---------- > ioport.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > ioport.h | 16 +++++++++++++ > 3 files changed, 98 insertions(+), 12 deletions(-) > >