qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/2] Type-safe ioport callbacks


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 0/2] Type-safe ioport callbacks
Date: Mon, 25 Oct 2010 17:40:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Avi Kivity <address@hidden> writes:

> 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
>
>  hw/acpi_piix4.c |   30 +++++++++++++++----------
>  ioport.c        |   64 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  ioport.h        |   16 +++++++++++++
>  3 files changed, 98 insertions(+), 12 deletions(-)

Related: proper error handling
http://www.mail-archive.com/address@hidden/msg43710.html

I think that could be built nicely on top of this.



reply via email to

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