All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Avi Kivity <avi@redhat.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH v3 0/2] Type-safe ioport callbacks
Date: Sun, 21 Nov 2010 09:18:49 -0600	[thread overview]
Message-ID: <4CE93859.3080703@codemonkey.ws> (raw)
In-Reply-To: <1289987410-466-1-git-send-email-avi@redhat.com>

On 11/17/2010 03:50 AM, Avi Kivity wrote:
> A not-so-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.
>    

Applied all.  Thanks.

Regards,

Anthony Liguori

> v3:
>   - define a common IORange that can also be used for mmio
>   - move start/length into IORange
>   - make access width a parameter of the access functions instead of
>     having a callback per access size
>
> v2:
>   - const correctness
>   - avoid return void
>
> Avi Kivity (2):
>    Type-safe ioport callbacks
>    piix4 acpi: convert io BAR to type-safe ioport callbacks
>
>   hw/acpi_piix4.c |   55 +++++++++++++++++++----------------------------
>   ioport.c        |   64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>   ioport.h        |    2 +
>   iorange.h       |   30 +++++++++++++++++++++++++
>   4 files changed, 118 insertions(+), 33 deletions(-)
>   create mode 100644 iorange.h
>
>    


      parent reply	other threads:[~2010-11-21 15:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17  9:50 [PATCH v3 0/2] Type-safe ioport callbacks Avi Kivity
2010-11-17  9:50 ` [Qemu-devel] " Avi Kivity
2010-11-17  9:50 ` [PATCH v3 1/2] " Avi Kivity
2010-11-17  9:50   ` [Qemu-devel] " Avi Kivity
2010-11-17  9:50 ` [PATCH v3 2/2] piix4 acpi: convert io BAR to type-safe " Avi Kivity
2010-11-17  9:50   ` [Qemu-devel] " Avi Kivity
2010-11-21 15:18 ` Anthony Liguori [this message]

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=4CE93859.3080703@codemonkey.ws \
    --to=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.