|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 0/2] Type-safe ioport callbacks |
Date: | Mon, 25 Oct 2010 08:45:56 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8 |
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 <address@hidden> Regards, Anthony Liguori
hw/acpi_piix4.c | 30 +++++++++++++++---------- ioport.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ ioport.h | 16 +++++++++++++ 3 files changed, 98 insertions(+), 12 deletions(-)
[Prev in Thread] | Current Thread | [Next in Thread] |