All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Peter Crosthwaite <peter.crosthwaite@xilinx.com>,
	Alexander Graf <agraf@suse.de>,
	Anthony Liguori <aliguori@amazon.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v2] qdev: Keep global allocation counter per bus
Date: Wed, 08 Jan 2014 15:04:26 +0100	[thread overview]
Message-ID: <52CD5AEA.4050905@redhat.com> (raw)
In-Reply-To: <87iotvk863.fsf@blackfin.pond.sub.org>

Leaving only those that will be affected by the patch:

Il 07/01/2014 18:34, Markus Armbruster ha scritto:
>     target      machine         bus id              times
>     aarch64     n800            i2c-bus.0           2
>     aarch64     n810            i2c-bus.0           2
>     arm         n800            i2c-bus.0           2
>     arm         n810            i2c-bus.0           2

Devices are created explicitly on one of the two buses, using
s->mpu->i2c[0], so no change to the guest.

>     aarch64     vexpress-a15    virtio-mmio-bus.0   4
>     aarch64     vexpress-a9     virtio-mmio-bus.0   4
>     aarch64     virt            virtio-mmio-bus.0   32
>     arm         vexpress-a15    virtio-mmio-bus.0   4
>     arm         vexpress-a9     virtio-mmio-bus.0   4
>     arm         virt            virtio-mmio-bus.0   32

With Alex's patch we get the ability to plug the device in a particular
slot.  If anyone was using virtio-mmio-bus.0 explicitly, they get the
first slot instead of the 4th or 32nd.  Bugfix.

>     aarch64     xilinx-zynq-a9  usb-bus.0           2
>     arm         xilinx-zynq-a9  usb-bus.0           2
>     mips64el    fulong2e        usb-bus.0           2

With Alex's patch we get the ability to plug the device in a particular
controller.  If anyone was using usb-bus.0 explicitly, they get the
"other" controller.  Guest visible change and not really a bugfix but it
doesn't break working configurations (the position of USB devices should
not be part of a device tree or firmware blob).  It may break migration.

>     i386        isapc           ide.0               2
>     x86_64      isapc           ide.0               2

(Ugly) fix in Alex's patch.  The macio approach (using QOM children) is
better.  No need for a perfect fix now.

>     mips        mips            ide.0               2
>     mips64      mips            ide.0               2
>     mips64el    mips            ide.0               2
>     mipsel      mips            ide.0               2

Not affected, the bus is not stored anywhere.

>     ppc         g3beige         ide.0               2
>     ppc         mac99           ide.0               2
>     ppc         prep            ide.0               2
>     ppc64       g3beige         ide.0               2
>     ppc64       mac99           ide.0               2
>     ppc64       prep            ide.0               2

Trusting Alex's tests here.

Paolo

  reply	other threads:[~2014-01-08 14:04 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-20  1:41 [Qemu-devel] [PATCH v2] qdev: Keep global allocation counter per bus Alexander Graf
2013-12-21 10:42 ` Markus Armbruster
2013-12-22 13:43   ` Paolo Bonzini
2014-01-07 15:12     ` Markus Armbruster
2014-01-07 16:59       ` Paolo Bonzini
2014-01-07 17:34         ` Markus Armbruster
2014-01-08 14:04           ` Paolo Bonzini [this message]
2014-01-08 14:35             ` Markus Armbruster
2014-01-08 15:18               ` Paolo Bonzini
2014-01-08 16:52                 ` Markus Armbruster
2014-01-08  3:07         ` Peter Crosthwaite
2014-01-08  4:24           ` Andreas Färber
2014-01-08  8:00             ` Markus Armbruster
2014-01-08 10:11             ` Peter Maydell
2014-01-08  8:13           ` Markus Armbruster
2014-01-08  8:26             ` Peter Crosthwaite
2014-01-08 13:40             ` Andreas Färber
2014-01-08 13:47               ` Paolo Bonzini
2014-01-10  7:50                 ` Peter Crosthwaite
2014-01-10  8:48                   ` Markus Armbruster
2014-02-04  9:28                     ` Markus Armbruster
2014-02-05  5:19                       ` Peter Crosthwaite
2014-02-05  8:45                         ` Markus Armbruster
2014-01-08 11:02           ` Paolo Bonzini
2014-01-08 13:53             ` Andreas Färber
2014-01-08 14:07               ` Paolo Bonzini

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=52CD5AEA.4050905@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=agraf@suse.de \
    --cc=aliguori@amazon.com \
    --cc=armbru@redhat.com \
    --cc=peter.crosthwaite@xilinx.com \
    --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.