From: Anthony Liguori <anthony@codemonkey.ws>
To: Peter Maydell <peter.maydell@linaro.org>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: "qemu-ppc@nongnu.org list:PowerPC" <qemu-ppc@nongnu.org>,
Alexander Graf <agraf@suse.de>,
qemu-devel Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 0/9] Add platform bus
Date: Tue, 23 Jul 2013 09:26:07 -0500 [thread overview]
Message-ID: <87haflnyio.fsf@codemonkey.ws> (raw)
In-Reply-To: <CAFEAcA_sjP9ccgFfBSYNGVr0Z13Td2osCycaVDdAZLk2uQ4oyw@mail.gmail.com>
Peter Maydell <peter.maydell@linaro.org> writes:
> On 23 July 2013 13:34, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> Il 23/07/2013 14:22, Peter Maydell ha scritto:
>>> On 23 July 2013 13:19, Paolo Bonzini <pbonzini@redhat.com> wrote:
> Yes, we should have easy support for defining a pluggable
> bus as a collection of pins.
>
>> In fact, the main thing I dislike about Alex's patch is adding a new bus
>> instead of making sysbus devices "just work" as pluggable devices.
>
> Agreed, more or less. Actually I'd rather sysbus devices
> went away -- the requirement for interrupt and GPIO and
> memory regions to all be defined as single arrays (so you
> have to know what interrupt line 3 happens to be, and
> that memory region 1 is the registers, and so on) is
> pretty unfriendly. We should be able to define all these
> as named connections.
The concrete next steps here are well known.
1) Make MemoryRegion's QOM objects and add them as children to the
devices that own them.
2) Make qemu_irq a QOM object.
Then you could use -device to plumb up all of these things without
SysBus being involved.
But the above is a lot of work for a use-case that while interesting
academically so far hasn't proven to be all that important.
Regards,
Anthony Liguori
>
> -- PMM
next prev parent reply other threads:[~2013-07-23 14:26 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 17:50 [Qemu-devel] [PATCH 0/9] Add platform bus Alexander Graf
2013-07-22 17:50 ` [Qemu-devel] [PATCH 1/9] PlatBus: Add Platform Bus Alexander Graf
2013-07-22 17:50 ` [Qemu-devel] [PATCH 2/9] PlatBus: Add abstract Platform Device Alexander Graf
2013-07-22 17:50 ` [Qemu-devel] [PATCH 3/9] PlatBus: Add Sysbus/Platform bridge device Alexander Graf
2013-07-22 17:50 ` [Qemu-devel] [PATCH 4/9] PlatBus: Hook up into Makefile system Alexander Graf
2013-07-22 17:50 ` [Qemu-devel] [PATCH 5/9] PPC: Add platform bus to the default compile set Alexander Graf
2013-07-22 17:50 ` [Qemu-devel] [PATCH 6/9] PlatBus: Add serial-platbus device Alexander Graf
2013-07-22 18:26 ` Peter Maydell
2013-07-22 18:56 ` Alexander Graf
2013-07-24 20:16 ` Scott Wood
2013-07-24 20:25 ` Peter Maydell
2013-07-22 17:50 ` [Qemu-devel] [PATCH 7/9] PPC: Add PlatBus Serial to default configs Alexander Graf
2013-07-22 17:50 ` [Qemu-devel] [PATCH 8/9] PPC: E500: Spawn PlatBus bridge for ppce500 machine Alexander Graf
2013-07-22 17:50 ` [Qemu-devel] [PATCH 9/9] PPC: E500: Add PlatBus device tree walker Alexander Graf
2013-07-22 18:21 ` [Qemu-devel] [PATCH 0/9] Add platform bus Peter Maydell
2013-07-22 18:55 ` Alexander Graf
2013-07-23 12:19 ` Paolo Bonzini
2013-07-23 12:22 ` Peter Maydell
2013-07-23 12:34 ` Paolo Bonzini
2013-07-23 12:40 ` Peter Maydell
2013-07-23 13:06 ` Paolo Bonzini
2013-07-23 14:26 ` Anthony Liguori [this message]
2013-07-23 14:28 ` Peter Maydell
2013-07-23 12:29 ` François Revol
2013-07-22 19:38 ` Anthony Liguori
2013-07-22 19:44 ` Alexander Graf
2013-07-22 19:52 ` Anthony Liguori
2013-07-22 21:50 ` Peter Maydell
2013-07-22 22:05 ` Anthony Liguori
2013-07-22 22:34 ` Peter Maydell
2013-07-22 23:03 ` Andreas Färber
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=87haflnyio.fsf@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=agraf@suse.de \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).