All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH 0/2] Type-safe ioport callbacks
Date: Mon, 25 Oct 2010 17:40:39 +0200	[thread overview]
Message-ID: <m3lj5mqo08.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <1287934469-16624-1-git-send-email-avi@redhat.com> (Avi Kivity's message of "Sun, 24 Oct 2010 17:34:27 +0200")

Avi Kivity <avi@redhat.com> 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/qemu-devel@nongnu.org/msg43710.html

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

WARNING: multiple messages have this Message-ID (diff)
From: Markus Armbruster <armbru@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH 0/2] Type-safe ioport callbacks
Date: Mon, 25 Oct 2010 17:40:39 +0200	[thread overview]
Message-ID: <m3lj5mqo08.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <1287934469-16624-1-git-send-email-avi@redhat.com> (Avi Kivity's message of "Sun, 24 Oct 2010 17:34:27 +0200")

Avi Kivity <avi@redhat.com> 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/qemu-devel@nongnu.org/msg43710.html

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

  parent reply	other threads:[~2010-10-25 15:40 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-24 15:34 [PATCH 0/2] Type-safe ioport callbacks Avi Kivity
2010-10-24 15:34 ` [Qemu-devel] " Avi Kivity
2010-10-24 15:34 ` [PATCH 1/2] " Avi Kivity
2010-10-24 15:34   ` [Qemu-devel] " Avi Kivity
2010-10-24 16:41   ` Avi Kivity
2010-10-24 16:41     ` [Qemu-devel] " Avi Kivity
2010-10-24 18:14   ` [Qemu-devel] " Blue Swirl
2010-10-24 18:14     ` Blue Swirl
2010-10-25 10:00     ` Avi Kivity
2010-10-25 10:00       ` Avi Kivity
2010-10-25 18:38       ` Blue Swirl
2010-10-25 18:38         ` Blue Swirl
2010-10-26  8:05         ` Avi Kivity
2010-10-26  8:05           ` Avi Kivity
2010-10-26 15:09           ` Blue Swirl
2010-10-26 15:09             ` Blue Swirl
2010-10-26 17:18             ` Avi Kivity
2010-10-26 17:18               ` Avi Kivity
2010-10-26 17:27               ` Anthony Liguori
2010-10-26 17:35                 ` Avi Kivity
2010-10-26 18:33                   ` Blue Swirl
2010-10-26 18:33                     ` Blue Swirl
2010-10-27  9:26                     ` Avi Kivity
2010-10-27  9:26                       ` Avi Kivity
2010-10-27 20:23                       ` Blue Swirl
2010-10-27 20:23                         ` Blue Swirl
2010-10-25 12:54   ` Juan Quintela
2010-10-25 12:54     ` [Qemu-devel] " Juan Quintela
2010-10-25 12:56     ` Avi Kivity
2010-10-25 12:56       ` [Qemu-devel] " Avi Kivity
2010-10-24 15:34 ` [PATCH 2/2] piix4 acpi: convert io BAR to type-safe " Avi Kivity
2010-10-24 15:34   ` [Qemu-devel] " Avi Kivity
2010-10-24 17:35 ` [PATCH 0/2] Type-safe " Paolo Bonzini
2010-10-24 17:35   ` [Qemu-devel] " Paolo Bonzini
2010-10-24 17:38   ` Avi Kivity
2010-10-24 17:38     ` [Qemu-devel] " Avi Kivity
2010-10-25 13:46     ` Anthony Liguori
2010-10-25 13:52       ` Paolo Bonzini
2010-10-25 13:52         ` Paolo Bonzini
2010-10-25 14:04         ` Anthony Liguori
2010-10-25 14:04           ` Anthony Liguori
2010-10-25 13:45 ` [Qemu-devel] " Anthony Liguori
2010-10-25 13:45   ` Anthony Liguori
2010-10-25 15:40 ` Markus Armbruster [this message]
2010-10-25 15:40   ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3lj5mqo08.fsf@blackfin.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.